-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
54 lines (50 loc) · 1.32 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
[project]
requires-python = "3.12"
[tool.pylint]
exit-zero = true
output-format = "colorized"
max-line-length=120
expected-line-ending-format = "LF"
min-similarity-lines = 5
init-import = true
allow-wildcard-with-all = true
module-naming-style = "PascalCase"
class-attribute-naming-style = "snake_case"
max-args = 7
min-public-methods = 0
single-line-if-stmt = true
check-protected-access-in-special-methods =true
logging-format-style = "new"
disable = ["missing-module-docstring"]
enable = ["use-symbolic-message-instead", "use-implicit-booleaness-not-comparison-to-string", "use-implicit-booleaness-not-comparison-to-zero"]
[tool.black]
color = true
line-length = 120
target-version = ["py312"]
safe = true
skip-string-normalization = true
[tool.isort]
profile = "black"
color_output = true
py_version = 312
force_to_top = true
case_sensitive = true
line_length = 120
wrap_length = 120
multi_line_output = 3
combine_star = true
sections = "FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER"
virtual_env = true
skip_gitignore = true
skip = ".gitignore,.dockerignore"
extend_skip = ".md,.json,.yaml"
blocked_extensions = "pyw,pyc"
[flake8]
max_complexity = 10
max-line-length = 120
statistics = true
count = true
# stop the build if there are Python syntax errors or undefined names
exit-zero = false
select = "E9,F63,F7,F82"
show-source = true