-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
57 lines (52 loc) · 1.01 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
[build-system]
requires = ['setuptools>=42.0', 'wheel']
build-backend = 'setuptools.build_meta'
[tool.pytest.ini_options]
addopts = '-vvvv --junitxml ./junit.xml'
testpaths = [
'tests',
]
[tool.black]
line-length = 100
skip-string-normalization = true
target-version = ['py39']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
)
'''
[tool.isort]
# See https://pycqa.github.io/isort/docs/configuration/profiles.html
profile = 'black'
# Override profile setup:
line_length = 100
force_single_line = true
[tool.flake8]
max-line-length = 100
extend-ignore = 'E203,'
max-complexity = 7
[tool.mypy]
mypy_path = 'src'
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
no_implicit_optional = true
show_error_codes = true
strict_equality = true
warn_redundant_casts = true
warn_return_any = true
warn_unreachable = true
warn_unused_configs = true
no_implicit_reexport = true