Dzigr/python-project-50

View on GitHub
setup.cfg

Summary

Maintainability
Test Coverage
[coverage:run]
branch = True

[flake8]
accept-encodings = utf-8
max-complexity = 6
statistics = False
max-line-length = 80
doctests = True
enable-extensions = G
isort-show-traceback = True

# clean default ignore list
ignore = WPS347, WPS210

per-file-ignores =
  # it is possibble to have prints in scripts
  gendiff/scripts/*.py: WPS421
  gendiff/diff.py: WPS231, WPS204
  gendiff/__init__.py: WPS412, WPS410
  gendiff/formatters/plain.py: WPS231, E501
 

[tool:pytest]
norecursedirs = __pycache__
addopts = --strict-markers

[isort]
# See https://github.com/timothycrosley/isort#multi-line-output-modes
multi_line_output = 3
include_trailing_comma = true
default_section = FIRSTPARTY
# Should be: 80 - 1
line_length = 79