-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/dpt 846 add python linting in dap (#1048)
* python linter added .flake8 ignore=S608,C901 * python linter added .flake8 ignore=S608,C901 * isort and black linting fixes, flake8 check for pre-commit in husky * pre-commit check test * pre-commit check test * pre-commit check test2 * pre-commit check test3 * pre-commit check test4 * linting fixes excluding flake8 and pydocstyle * flake8 fixes with ignore = S608,C901 * flake8 fixes with ignore = S608,C901 * deleted pre-commit-config yaml * clean up of package.json * specified file extensions for prettier and error message for missing dependencies * removed unused config
- Loading branch information
1 parent
8511f34
commit ee7e15a
Showing
14 changed files
with
594 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[flake8] | ||
ignore = S608,C901 | ||
max-line-length = 160 | ||
exclude = tests/* | ||
max-complexity = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools>=42", | ||
"wheel" | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.black] | ||
line-length = 160 | ||
|
||
[[tool.mypy.overrides]] | ||
module = ["untyped_package.*"] | ||
follow_untyped_imports = true | ||
|
||
[tool.mypy] | ||
disable_error_code = ["import-untyped"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.