mirror of
https://github.com/mvt-project/mvt.git
synced 2026-07-25 22:00:59 +02:00
Started linting the code
This commit is contained in:
@@ -43,7 +43,7 @@ console_scripts =
|
||||
mvt-android = mvt.android:cli
|
||||
|
||||
[flake8]
|
||||
max-complexit = 10
|
||||
max-complexity = 10
|
||||
max-line-length = 1000
|
||||
ignore =
|
||||
C901,
|
||||
@@ -52,3 +52,34 @@ ignore =
|
||||
E127,
|
||||
W503,
|
||||
E226
|
||||
|
||||
[pylint]
|
||||
score = no
|
||||
reports = no
|
||||
output-format = colorized
|
||||
|
||||
max-locals = 25
|
||||
max-args = 10
|
||||
|
||||
good-names = i,e,m
|
||||
|
||||
min-similarity-lines=10
|
||||
ignore-comments=yes
|
||||
ignore-docstrings=yes
|
||||
ignore-imports=yes
|
||||
|
||||
ignored-argument-names=args|kwargs
|
||||
|
||||
# https://pylint.pycqa.org/en/stable/technical_reference/features.html
|
||||
disable =
|
||||
too-many-instance-attributes,
|
||||
broad-except,
|
||||
abstract-method,
|
||||
dangerous-default-value,
|
||||
#duplicate-code,
|
||||
line-too-long,
|
||||
too-few-public-methods,
|
||||
missing-docstring,
|
||||
missing-module-docstring,
|
||||
missing-class-docstring,
|
||||
missing-function-docstring,
|
||||
|
||||
Reference in New Issue
Block a user