Commit c446ea3b by Jörg Stucke

requested review changes

parent b8efda59
...@@ -3,9 +3,4 @@ extend-ignore = E501,W503 ...@@ -3,9 +3,4 @@ extend-ignore = E501,W503
extend-select = E504 extend-select = E504
exclude = exclude =
.git, .git,
__pycache__, __pycache__
src/bin,
src/install/compose-env
per-file-ignores =
src/plugins/*: E402
src/install/install.py: E402
...@@ -22,7 +22,7 @@ repos: ...@@ -22,7 +22,7 @@ repos:
args: [--remove] args: [--remove]
- id: file-contents-sorter - id: file-contents-sorter
files: src/unpacker/passwords|.gitignore|_list.txt files: .gitignore|_list.txt
- id: forbid-new-submodules - id: forbid-new-submodules
......
...@@ -5,9 +5,7 @@ target-version = ['py37'] ...@@ -5,9 +5,7 @@ target-version = ['py37']
[tool.pylint.main] [tool.pylint.main]
init-hook = 'import sys; sys.path.append("./src")' init-hook = 'import sys; sys.path.append("./src")'
ignore-paths = ["src/bin"]
load-plugins = ["pylint.extensions.bad_builtin", "pylint.extensions.mccabe"] load-plugins = ["pylint.extensions.bad_builtin", "pylint.extensions.mccabe"]
extension-pkg-allow-list = ["yara"]
jobs = 0 jobs = 0
include-naming-hint = true include-naming-hint = true
good-names = ["i", "j", "k", "Run", "_", "db", "ex", "fd", "fo", "fp", "fw", "pw", "rv", "sc", "tc"] good-names = ["i", "j", "k", "Run", "_", "db", "ex", "fd", "fo", "fp", "fw", "pw", "rv", "sc", "tc"]
...@@ -30,13 +28,7 @@ max-complexity = 7 ...@@ -30,13 +28,7 @@ max-complexity = 7
min-public-methods = 0 min-public-methods = 0
max-public-methods = 40 max-public-methods = 40
[tool.pylint.imports]
known-third-party = ["enchant", "docker"]
[tool.isort] [tool.isort]
line_length=120 line_length=120
default_section = "THIRDPARTY" default_section = "THIRDPARTY"
known_first_party = ["analysis", "compare", "helperFunctions", "install", "intercom", "objects", "plugins", "scheduler",
"statistic", "storage", "test", "unpacker", "version", "web_interface"]
known_third_party = "docker"
profile = "black" profile = "black"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment