forked from Tsadoq/ErisForge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.cfg
43 lines (33 loc) · 780 Bytes
/
setup.cfg
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
[isort]
multi_line_output = 3
include_trailing_comma = true
use_parentheses = true
line_length = 1
force_sort_within_sections = true
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude =
.git*,
.mypy_cache,
.pytest_cache,
.ruff_cache,
.venv,
venv/
line-length = 120
indent-width = 4
ignore-init-module-imports = true
target-version = "py312"
[tool.ruff.lint]
select = ["E", "F", "W", "C90", "N805", "D201", "D202", "D210", "B006"]
fixable = ["ALL"]
unfixable = ["E203"]
[tool.ruff.format]
quote-style = "single"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
[tool.ruff.lint.mccabe]
max-complexity = 15
[tool.ruff.lint.flake8-annotations]
mypy-init-return = true
suppress-none-returning = true