-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.cfg
46 lines (44 loc) · 1.07 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
44
45
46
[flake8]
application-import-name=ddapm_test_agent
exclude=
.riot,
.git,
.venv,
.eggs,
__pycache__,
*.eggs-info,
build,
# E501,E231,W503: not respected by black
ignore = E501,W503,E203,E231,D100,D101,D102,D103,D104,D105,D107,D205,D400,D402,B902,I100,I202,A005
enable-extensions=G
import-order-style=google
[mypy]
ignore_missing_imports = true
disallow_incomplete_defs = true
disallow_untyped_decorators = true
warn_unused_ignores = true
warn_unused_configs = true
disallow_any_generics = true
warn_redundant_casts = true
warn_return_any = true
strict_equality = true
no_implicit_optional = true
files = ddapm_test_agent,tests
[tool:pytest]
addopts =
--doctest-modules
--doctest-glob="*.py"
--color=yes
--show-capture=all
--durations=10
# Pytest generates very long temp file paths (too long to be used by Unix sockets)
# So use a custom tmp directory instead.
--basetemp=/tmp/pytest
testpaths =
ddapm_test_agent
tests
log_level = DEBUG
filterwarnings =
ignore::aiohttp.web_exceptions.NotAppKeyWarning
# log_cli = 1
# log_cli_level = DEBUG