46 lines
870 B
INI
46 lines
870 B
INI
[tool:pytest]
|
|
addopts = --ds=drupal2spip_lal.settings.test
|
|
python_files = tests.py test_*.py
|
|
testpaths = drupal2spip_lal
|
|
|
|
[coverage:run]
|
|
branch = True
|
|
source =
|
|
drupal2spip_lal
|
|
omit =
|
|
drupal2spip_lal/*tests*,
|
|
drupal2spip_lal/*/migrations/*,
|
|
drupal2spip_lal/settings/*,
|
|
drupal2spip_lal/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 = drupal2spip_lal
|
|
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
|