lens-site/setup.cfg

46 lignes
787 B
INI

[tool:pytest]
norecursedirs = node_modules
testpaths = lens
DJANGO_SETTINGS_MODULE = lens.settings.test
[coverage:run]
branch = True
source =
lens
omit =
lens/*tests*,
lens/*/migrations/*,
lens/settings/*,
lens/wsgi.py
[coverage:report]
exclude_lines =
pragma: no cover
if settings.DEBUG:
raise NotImplementedError
show_missing = True
[flake8]
exclude =
.git,
.tox,
venv,
*/migrations/*,
*/static/*,
assets,
build,
dist,
docs,
node_modules
max-line-length = 80
[isort]
line_length = 80
known_first_party = lens
multi_line_output = 3
default_section = THIRDPARTY
known_django = django
sections = FUTURE,STDLIB,DJANGO,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
skip_glob = **/migrations/*.py
include_trailing_comma = True