forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
37 lines (36 loc) · 1.04 KB
/
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
[flake8]
ignore = E265
exclude =
.git/,
__pycache__,
alembic/,
docs/,
e2e-tests/,
minidump-stackwalk/,
puppet/,
socorro-virtualenv/,
stackwalk/,
tools/,
webapp-django/crashstats/*/migrations/*,
webapp-django/node_modules/,
build/,
depot_tools/,
breakpad/
max-line-length = 100
[tool:pytest]
# -rsxX - show skipped, failed, and passed tests
# --tb=native - print native traceback
# -p no:django - disable the pytest-django plugin for Socorro tests
addopts = -rsxX --tb=native -p no:django
norecursedirs = .git docs scripts config docker __pycache__
testpaths = socorro/unittest/
# NOTE(willkg): These values are used by Travis. Once we ditch Travis, we can
# probably either ditch these values or fix them or both.
env =
D:database_hostname=localhost
D:database_username=breakpad_rw
D:database_password=aPassword
D:resource.fs.fs_root='./crashes'
D:resource.elasticsearch.elasticsearch_urls=http://localhost:9200
# Transform all warnings into errors
filterwarnings = error