2018-05-22 12:34:01 +02:00
|
|
|
# Since there is overlap in the violations that the different tools check for, it makes sense to quiesce some warnings
|
|
|
|
# in some tools if those warnings in other tools are preferred. This avoids the need to add duplicate lint warnings.
|
|
|
|
|
2019-10-03 11:13:02 +02:00
|
|
|
# max-line-length should be removed ASAP!
|
|
|
|
|
2018-05-15 16:57:56 +02:00
|
|
|
[pycodestyle]
|
|
|
|
max-line-length = 119
|
|
|
|
|
|
|
|
[flake8]
|
|
|
|
max-line-length = 119
|
2019-10-03 11:13:02 +02:00
|
|
|
ignore = E722,F841,W503
|
2018-05-22 12:34:01 +02:00
|
|
|
# E722: pylint is preferred for bare-except
|
|
|
|
# F841: pylint is preferred for unused-variable
|
2019-10-03 11:13:02 +02:00
|
|
|
# W503: deprecated: https://bugs.python.org/issue26763 - https://www.python.org/dev/peps/pep-0008/#should-a-line-break-before-or-after-a-binary-operator
|
2018-05-15 16:57:56 +02:00
|
|
|
|
2018-05-22 12:34:01 +02:00
|
|
|
# pylint honours the [MESSAGES CONTROL] section
|
2018-08-27 18:59:15 +02:00
|
|
|
# as well as [MASTER] section
|
2018-05-15 16:57:56 +02:00
|
|
|
[MESSAGES CONTROL]
|
2018-05-22 12:34:01 +02:00
|
|
|
disable=invalid-name,bare-except,broad-except
|
|
|
|
# invalid-name: needs fixing during a large, project-wide refactor
|
|
|
|
# bare-except,broad-except: Need fixing once thorough testing is easier
|
2018-08-27 18:59:15 +02:00
|
|
|
|
|
|
|
[MASTER]
|
|
|
|
init-hook = import sys;sys.path.append('src')
|