-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
63 lines (55 loc) · 981 Bytes
/
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
62
63
[build-system]
requires = ["setuptools>=51.0.0", "wheel"]
build-backend = "setuptools.build_meta"
[tool.mypy]
python_version = "3.10"
ignore_missing_imports = true
allow_redefinition = true
[tool.coverage.run]
omit = [
"tests/*"
]
[tool.black]
line-length = 88
target-version = ['py38']
exclude = '''
/(
\.eggs
| \.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| build
| dist
| hdc/algo/vendor
)/
'''
[tool.isort]
profile = "black"
[tool.pylint.main]
ignore-paths = [
"hdc/algo/vendor/*"
]
extension-pkg-allow-list = [
"scipy.special"
]
[tool.pylint.messages_control]
max-line-length = 99
disable = [
"too-many-locals",
"too-many-branches",
"too-many-statements",
"too-few-public-methods",
"too-many-arguments",
"missing-module-docstring",
"missing-function-docstring",
"invalid-name",
"duplicate-code",
"fixme",
"wrong-import-order",
"unnecessary-lambda-assignment",
]
[tool.pydocstyle]
match-dir = "(?!vendor).*"