-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
40 lines (36 loc) · 1.04 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
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.autopep8]
max_line_length = 120
ignore = [
"E221", # multiple spaces before operator
"E241", # multiple spaces after ':'
"E704", # multiple statements on one line (def)
"E722", # bare except
"W503", # line break before binary operator
]
in-place = true
recursive = true
aggressive = 3
[tool.pylint.main]
max-line-length = 120
[tool.pylint."MESSAGES CONTROL"]
disable = [
# Errors
# Warnings
"W0123", # use of eval
"W0621", # Redefining name '*' from outer scope
"W0622", # Redefining built-in '*'
"W0702", # No exception type(s) specified
"W1203", # Use %s formatting in logging functions
# Conventions
"C0103", # Variable name "*" doesn't conform to snake_case naming style
# Refactoring
"R0903", # too few public methods (*/2)
"R0912", # too many branches (*/12)
"R0914", # Too many local variables (*/15)
"R0915", # Too many statements (*/50)
"R1704", # Redefining argument with the local name '*'
"E0611", # No name * in module *
]