42 строки
871 B
INI
42 строки
871 B
INI
[tool:pytest]
|
|
addopts = -vs --reuse-db --showlocals --tb=short
|
|
python_files=test*.py
|
|
markers =
|
|
es_tests: mark a test as an elasticsearch test.
|
|
norecursedirs =
|
|
node_modules locale static media site-static user-media tmp
|
|
templates fixtures migrations
|
|
.* *.egg dist cache venv __pycache__
|
|
DJANGO_SETTINGS_MODULE = settings_test
|
|
|
|
[flake8]
|
|
ignore = F999,F405
|
|
exclude =
|
|
services,
|
|
src/olympia/wsgi.py,
|
|
docs,
|
|
node_modules,
|
|
.npm,
|
|
build*.py
|
|
.tox,
|
|
media,
|
|
user-media,
|
|
logs,
|
|
tmp,
|
|
site-static,
|
|
static,
|
|
.git
|
|
|
|
[isort]
|
|
atomic=true
|
|
lines_after_imports=2
|
|
lines_between_types=1
|
|
multi_line_output=4
|
|
combine_as_imports = true
|
|
default_section = THIRDPARTY
|
|
include_trailing_comma = false
|
|
known_django = django
|
|
known_olympia = olympia
|
|
line_length = 79
|
|
sections=FUTURE,STDLIB,DJANGO,THIRDPARTY,OLYMPIA,FIRSTPARTY,LOCALFOLDER
|