-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
44 lines (41 loc) · 1.42 KB
/
setup.cfg
File metadata and controls
44 lines (41 loc) · 1.42 KB
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
44
# List of most flake8 error codes and definitions:
# https://lintlyci.github.io/Flake8Rules/
#
# For ones that start with a "B":
# https://github.com/PyCQA/flake8-bugbear#list-of-warnings
[flake8]
select = B,C,E,F,W,T4,B9
ignore =
# line break before binary operator, not PEP8 compliant
W503
# Line length warnings, just rely on black to format things sanely
E501, B950
# whitespace before ':', not PEP8 compliant with slices, https://github.com/ambv/black#slices
E203,
# missing whitespace after ',', conflicts with black in certain cases
E231,
# too many leading '#' for block comment, we can format our comments however we want
E266,
# don't use bare except, B001 is more descriptive
E722
warn-symbols =
pytest.mark.dev_focus = dev_focus testing marker left in code.
per-file-ignores =
[pydantic-mypy]
init_forbid_extra = True
init_typed = True
warn_required_dynamic_aliases = True
warn_untyped_fields = True
[tool:pytest]
testpaths = tests
norecursedirs=tests/helpers
filterwarnings =
ignore::DeprecationWarning:connexion.*
ignore::DeprecationWarning:sqlalchemy.*
ignore::DeprecationWarning:zeep.loader.*
ignore::DeprecationWarning:newrelic.*
addopts = --strict-markers
markers =
integration: mark a test as an integration test (requires external connections/real resources)
dev_focus: Convenience marker to target tests during development (run focused tests using `make test-watch-focus`)
[coverage:run]