-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
48 lines (43 loc) · 1.14 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
[tool.pylint]
max-line-length = 120
allow-reexport-from-package = true
ignore-patterns = [".*.pyi"]
jobs = 4
unsafe-load-any-extension = false
disable = [
"missing-module-docstring",
"missing-class-docstring",
"missing-function-docstring",
"abstract-method",
# "arguments-differ",
# "attribute-defined-outside-init",
# "duplicate-code",
# "eq-without-hash",
# "fixme",
# "global-statement",
# "implicit-str-concat",
# "import-error",
# "import-self",
# "import-star-module-level",
# "inconsistent-return-statements",
# "invalid-str-codec",
]
argument-rgx = "^[a-z_][a-z0-9_]{0,30}$"
attr-rgx = "^[a-z_][a-z0-9_]{0,30}$"
function-rgx = "^[a-z_][a-z0-9_]{0,30}$"
method-rgx = '[a-z_][a-z0-9_]{0,30}$'
variable-rgx = '[a-z_][a-z0-9_]{0,30}$'
ignore-long-lines = '''(?x)(
^\s*(\#\ )?<?https?://\S+>?$|
^\s*(from\s+\S+\s+)?import\s+.+$)'''
max-module-lines = 99999
indent-string = ' '
dummy-variables-rgx = '^\*{0,2}(_$|unused_|dummy_)'
callbacks = ['cb_', '_cb']
[tool.black]
line-length = 120
target-version = ['py312']
[tool.isort]
profile = "black"
line_length = 120
combine_as_imports = true