-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
61 lines (54 loc) · 1.64 KB
/
pyproject.toml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# based on https://github.com/predictionmachine/pm-gh-actions/blob/main/pyproject.toml
# pm-version 0.1.3
[tool.black]
# see https://black.readthedocs.io/en/stable/usage_and_configuration/the_basics.html#configuration-format
# your black config goes here
[tool.coverage.run]
# see https://coverage.readthedocs.io/en/latest/config.html
omit = ["tests/*"]
[tool.interrogate]
# see https://interrogate.readthedocs.io/en/latest/#configuration
ignore-init-method = true
ignore-init-module = true
ignore-magic = true
fail-under = 100
exclude = ["out", "tests"]
verbose = 1
quiet = false
color = true
ignore-nested-functions = true
[tool.isort]
profile = "black"
[tool.mypy]
python_version = "3.8"
# see https://mypy.readthedocs.io/en/stable/config_file.html#using-a-pyproject-toml-file
files = ['.']
disallow_untyped_defs = true
no_implicit_optional = true
warn_return_any = true
warn_unused_configs = true
warn_unused_ignores = true
pretty = false
# mypy per-module options:
[[tool.mypy.overrides]]
module = [
# alphabetical order
'pytest.*',
'pytest_mock',
]
ignore_missing_imports = true
[tool.pytest.ini_options]
# see https://docs.pytest.org/en/6.2.x/customize.html#pyproject-toml
addopts = "-n2 --strict-markers -vv"
markers = [
'integration: integration tests'
]
doctest_optionflags = ['NORMALIZE_WHITESPACE', 'IGNORE_EXCEPTION_DETAIL']
log_format = '%(asctime)s.%(msecs)03d [%(levelname)s] %(filename)12s:%(lineno)d fn=%(funcName)s %(message)s'
log_date_format = '%Y-%m-%dT%H:%M:%S'
log_level = 'INFO'
log_cli_level = 'INFO'
filterwarnings = [
'ignore:"@coroutine" decorator:DeprecationWarning',
'ignore:The loop argument:DeprecationWarning'
]