-
Notifications
You must be signed in to change notification settings - Fork 20
/
pyproject.toml
66 lines (63 loc) · 1.29 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
[tool.black]
line-length = 120
include = '\.pyi?$'
extend-exclude = "codegen/.*"
[tool.isort]
profile = "black"
known_first_party = ["code_generator"]
extend_skip = ["codegen"]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
[tool.pylint]
[tool.pylint.master]
ignore-paths = ["codegen"]
[tool.pylint.messages_control]
disable = [
"C0103",
"C0114",
"C0115",
"C0116",
"C0123",
"C0209",
"C0330",
"C0301",
"C0302",
"C0411",
"C0415",
"E0401",
"E1121",
"E1123",
"E1101",
"R",
"W"
]
[tool.pylint.basic]
good-names-rgxs = "^[_a-z][_a-z0-9]?$" # allow 1 or 2 character names
[tool.pylint.format]
max-line-length = 120
max-module-lines = 5000
[tool.pylint.design]
max-args = 10
max-attributes = 15
max-parents = 10
[tool.mypy]
files = "."
exclude ="codegen/.*"
install_types = true
non_interactive = true
show_error_codes = true
disable_error_code = [
"import",
"assignment",
"operator",
"has-type",
"var-annotated",
"operator",
"call-arg",
]
explicit_package_bases = true
namespace_packages = true