-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
36 lines (33 loc) · 883 Bytes
/
Copy pathpyproject.toml
File metadata and controls
36 lines (33 loc) · 883 Bytes
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
[tool.ruff]
line-length = 99
target-version = "py310"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"UP", # pyupgrade
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"SIM", # flake8-simplify
"RUF", # ruff-specific rules
]
ignore = [
"E501", # line too long (handled by formatter)
"RUF006", # asyncio dangling task (too noisy for cogs)
"RUF001", # ambiguous Unicode characters
"RUF002", # ambiguous Unicode characters
"RUF003" # ambiguous Unicode characters
]
fixable = ["ALL"]
extend-unsafe-fixes = ["ALL"]
[tool.ruff.lint.isort]
known-first-party = ["maxcogs"]
force-single-line = false
lines-after-imports = 2
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"