forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
43 lines (40 loc) · 1.23 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
38
39
40
41
42
43
[flake8]
ignore =
# E203: Whitespace before ':'; doesn't work with black
E203,
# E501: line too long
E501,
# W503: line break before operator; this doesn't work with black
W503
exclude =
.git/,
__pycache__,
docs/,
webapp-django/crashstats/*/migrations/*,
webapp-django/node_modules/,
build/
max-line-length = 88
[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 config docker __pycache__
testpaths = socorro/
# Transform all warnings into errors
filterwarnings =
error
# boto3 kicks up ResourceWarning: unclosed socket, https://github.com/boto/boto3/issues/454
ignore:unclosed:ResourceWarning
# boto3 kicks up DeprecationWarning about collections, https://github.com/boto/botocore/issues/1885
ignore:Using or importing the ABCs:DeprecationWarning
[tool:release]
github_user = mozilla-services
github_project = socorro
bugzilla_product = Socorro
bugzilla_component = Infra
main_branch = main
[tool:paul-mclendahand]
github_user = mozilla-services
github_project = socorro
main_branch = main