You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1003 B
48 lines
1003 B
[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, |
|
drupal2spip_lal/drupal/models.py, |
|
drupal2spip_lal/spip/models.py, |
|
drupal2spip_lal/base/management/commands/inspectdb.py, |
|
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
|
|
|