Fix pylint not finding the app from test
Some checks failed
Bandit / audit-runtime-security (3.11) (pull_request) Successful in 10m4s
Flake8 / audit (3.11) (pull_request) Successful in 10m3s
Mypy / audit-typing (3.11) (pull_request) Failing after 6m17s
pip-audit / audit-dependency-security (3.11) (pull_request) Successful in 11m8s
Pylint / audit-runtime-security (3.11) (pull_request) Failing after 5m56s
Python Coverage / test-and-coverage (3.11) (pull_request) Failing after 5m35s
Some checks failed
Bandit / audit-runtime-security (3.11) (pull_request) Successful in 10m4s
Flake8 / audit (3.11) (pull_request) Successful in 10m3s
Mypy / audit-typing (3.11) (pull_request) Failing after 6m17s
pip-audit / audit-dependency-security (3.11) (pull_request) Successful in 11m8s
Pylint / audit-runtime-security (3.11) (pull_request) Failing after 5m56s
Python Coverage / test-and-coverage (3.11) (pull_request) Failing after 5m35s
This commit is contained in:
33
.pylintrc
Normal file
33
.pylintrc
Normal file
@ -0,0 +1,33 @@
|
||||
[MASTER]
|
||||
init-hook="import os, sys; sys.path.append('app')"
|
||||
|
||||
# Enable only error and fatal messages initially
|
||||
disable=all
|
||||
enable=E,F
|
||||
|
||||
[FORMAT]
|
||||
max-line-length=120
|
||||
|
||||
[BASIC]
|
||||
# Good variable names which should always be accepted
|
||||
good-names=i,j,k,ex,Run,_,id
|
||||
|
||||
[TYPECHECK]
|
||||
# Don't check for missing member access
|
||||
ignore-mixin-members=yes
|
||||
|
||||
[VARIABLES]
|
||||
# Don't check for unused arguments in overridden methods
|
||||
dummy-variables-rgx=_|dummy|^ignored_|^unused_
|
||||
|
||||
[DESIGN]
|
||||
# Maximum number of arguments for function / method
|
||||
max-args=10
|
||||
|
||||
[SIMILARITIES]
|
||||
# Minimum lines number of a similarity
|
||||
min-similarity-lines=4
|
||||
|
||||
[MISCELLANEOUS]
|
||||
# List of note tags to take in consideration
|
||||
notes=FIXME,XXX,TODO
|
||||
Reference in New Issue
Block a user