-
Notifications
You must be signed in to change notification settings - Fork 42
/
pyproject.toml
74 lines (63 loc) · 1.57 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
62
63
64
65
66
67
68
69
70
71
72
73
74
[tool.pytest.ini_options]
addopts = "--durations=8 -n auto"
[tool.coverage.run]
omit = ["*/site-packages/*"]
[tool.coverage.report]
show_missing = true
skip_covered = true
precision = 2
[tool.mypy]
strict = false
show_column_numbers = true
show_error_codes = true
exclude = [
"build",
]
[tool.isort]
profile = "black"
[tool.docformatter]
in-place = true
[tool.pydocstyle]
ignore = [
"D101", "D102", "D103", "D105", "D107",
"D203", "D213",
"D301",
"D405", "D406", "D407", "D413"
]
[tool.pylint.master]
jobs = 0
score = false
disable = [
"invalid-name", # C0103
"missing-class-docstring", # C0115
"missing-function-docstring", # C0116
"duplicate-code", # R0801
"too-many-instance-attributes", # R0902
"too-many-return-statements", # R0911
"too-many-branches", # R0912
"too-many-arguments", # R0913
"too-many-locals", # R0914
"too-many-statements", # R0915
"fixme", # W0511
"unsubscriptable-object", # E1136 python3.9-only pylint bug
"unused-argument", # W0613
]
[tool.pylint.logging]
logging-format-style = "new"
logging-modules = "logging"
[tool.pylint.spelling]
max-spelling-suggestions = 4
[tool.pylint.basic]
good-names = [
"c", "e", "i", "j", "k", "m", "n", "p", "q", "r", "s", "t", "u", "v", "w",
"G", "H", "Q", "K", "R",
"x_G", "x_H", "x_Q", "x_K", "x_R",
"y_G", "y_H", "y_Q", "y_K", "y_R",
"GJ", "HJ", "QJ", "KJ", "RJ",
"QJs", "KJs", "RJs",
"G_bytes", "H_bytes", "Q_bytes", "K_bytes", "R_bytes",
"rf", "hf", "ec",
"tx"
]
[tool.pylint.format]
max-line-length = 2000