forked from mozilla/addons-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
42 lines (40 loc) · 951 Bytes
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
[tool:pytest]
addopts = -vs --reuse-db --showlocals --tb=short
python_files=test*.py
markers =
es_tests: mark a test as an elasticsearch test.
needs_locales_compilation: mark a test as needing compiled locales to work.
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