PyBitmessage-2021-04-27/setup.cfg
Peter Surda 0bc1dfdc8b
Add src to path when running pylint
- this will allow pylint to run in the main directory without complaining about
  imports
2018-08-27 18:59:15 +02:00

22 lines
756 B
INI

# 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.
[pycodestyle]
max-line-length = 119
[flake8]
max-line-length = 119
ignore = E722,F841
# E722: pylint is preferred for bare-except
# F841: pylint is preferred for unused-variable
# pylint honours the [MESSAGES CONTROL] section
# as well as [MASTER] section
[MESSAGES CONTROL]
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
[MASTER]
init-hook = import sys;sys.path.append('src')