-
Notifications
You must be signed in to change notification settings - Fork 15
/
setup.cfg
43 lines (39 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
38
39
40
41
42
43
[metadata]
license_file = LICENSE
description-file = README.md
[flake8]
exclude =
.git,
__pycache__,
build,
dist,
*.pyc,
*.egg-info,
.cache,
.eggs,
.tox
max-complexity = 10
max-line-length = 88
select = C,E,F,W,B,B950
# C812, C815, W503 clash with black, F723 false positive
ignore = E501,C812,C815,C816,W503,F723
[isort]
line_length = 88
indent = ' '
multi_line_output = 3
default_section = FIRSTPARTY
skip = env
include_trailing_comma = true
combine_as_imports = True
force_grid_wrap = 0
known_first_party = rpdk
known_third_party = boto3,botocore,jinja2,jsonschema,werkzeug,yaml,requests
[tool:pytest]
addopts = --cov-config=.coveragerc --cov-report xml:coverage/py/coverage.xml --cov-report html:coverage/py/html --doctest-modules
# can't do anything about 3rd party modules, so don't spam us
filterwarnings =
ignore::DeprecationWarning:botocore
ignore::DeprecationWarning:werkzeug
ignore::DeprecationWarning:yaml
[mypy-setuptools] # don't want to stub external libraries for now
ignore_missing_imports = True