-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (61 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[tool.black]
exclude = '''
/(
\.git
| _build
| build
| dist
| env
| venv
)/
'''
line-length = 110
target-version = ['py39']
[tool.isort]
ensure_newline_before_comments = true
force_grid_wrap = 0
include_trailing_comma = true
line_length = 110
multi_line_output = 3
use_parentheses = true
[tool.ruff]
line-length = 110
force-exclude = true
target-version = "py39"
fix = true
[tool.ruff.lint]
select = [
# pycodestyle
"E",
"W",
# pyflakes
"F",
# pydocstyle
"D201", "D202", "D205", "D300", "D301", "D403",
"D410", "D411", "D413",
# flake8-bugbear
"B",
# flake8-commas
"COM",
# flake8-comprehensions
"C4",
# flake8-errmsg
"EM",
# flake8-implicit-str-concat
"ISC",
# flake8-simplify
"SIM101", "SIM109", "SIM117", "SIM118",
"SIM2",
# flake8-return
"RET505", "RET506", "RET507", "RET508",
]
ignore = ["E501", "F403"]
extend-fixable = [
"F401",
"COM",
]
[build-system]
requires = [
"setuptools >= 40.9.0",
]
build-backend = "setuptools.build_meta"