2020-07-16 17:44:31 +02:00
|
|
|
[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,
|
2020-08-01 11:36:57 +02:00
|
|
|
drupal2spip_lal/drupal/models.py,
|
|
|
|
drupal2spip_lal/base/management/commands/inspectdb.py,
|
2020-07-16 17:44:31 +02:00
|
|
|
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
|