forked from xsf/xmpp.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
44 lines (39 loc) · 1.23 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
[tool.isort]
force_alphabetical_sort_within_sections = true
force_single_line = true
group_by_package = true
known_typing = ["typing"]
sections = [
"FUTURE",
"TYPING",
"STDLIB",
"THIRDPARTY",
"FIRSTPARTY",
"LOCALFOLDER"
]
skip_gitignore = true
[tool.ruff]
lint.select = [
"ALL"
]
lint.ignore = [
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed in `xx`
"C901", # `xx` is too complex
"D", # docstyle
"FBT001", # Boolean-typed positional argument in function definition
"FBT002", # Boolean default positional argument in function definition
"I", # imports, covered by isort
"INP001", # File `xx` is part of an implicit namespace package. Add an `__init__.py`.
"PLR0912", # Too many branches
"PLR0915", # Too many statements
"PLR2004", # Magic value used in comparison, consider replacing `xx` with a constant variable
"S101", # Use of `assert` detected
"S603", # `subprocess` call: check for execution of untrusted input
"S607", # Starting a process with a partial executable path
"T201", # `print` found
]
target-version = "py312"
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
docstring-quotes = "double"
multiline-quotes = "double"