-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
63 lines (56 loc) · 1.44 KB
/
pyproject.toml
File metadata and controls
63 lines (56 loc) · 1.44 KB
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
[build-system]
requires = [ "setuptools >= 35.0.2", "wheel >= 0.29.0"]
build-backend = "setuptools.build_meta"
[tool.black]
line-length = 88
target-version = ['py36', 'py37', 'py38', 'py39', 'py310']
include = '(\.pyi?$|src|tests)'
[tool.ruff]
target-version = "py310"
fix = true
[tool.ruff.lint]
extend-select = [
"B",
"C90",
"E501", # line too long (default 88)
"I", # isort
"UP", # pyupgrade
]
extend-safe-fixes = ["UP008"]
exclude = ["setup/*"]
[tool.ruff.lint.mccabe]
max-complexity = 16
[tool.pylint.main]
ignored-modules = ["dateutil", "git_aggregator", "odoo", "pytest", "pytest_odoo", "yaml"]
[tool.pylint.imports]
ignored-modules = ["dateutil", "git_aggregator", "odoo", "pytest", "pytest_odoo", "yaml"]
[tool.pylint."messages control"]
disable = """
attribute-defined-outside-init,
bad-inline-option,
bad-mcs-classmethod-argument,
broad-except,
deprecated-pragma,
duplicate-code,
file-ignored,
invalid-name,
locally-disabled,
logging-fstring-interpolation,
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
protected-access,
raw-checker-failed,
redefined-outer-name,
suppressed-message,
too-few-public-methods,
too-many-arguments,
too-many-instance-attributes,
too-many-locals,
too-many-positional-arguments,
too-many-return-statements,
unused-argument,
use-implicit-booleaness-not-comparison,
use-symbolic-message-instead,
useless-suppression,
"""