forked from xsf/xmpp.org
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
70 lines (62 loc) · 1.64 KB
/
Copy pathpyproject.toml
File metadata and controls
70 lines (62 loc) · 1.64 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
64
65
66
67
68
69
70
[project]
name = "xmpp-org-website"
version = "1.0.0"
dependencies = [
"beautifulsoup4",
"colorama",
"defusedxml",
"lxml",
"packaging",
"Pillow",
"python-slugify",
"requests",
"scour",
]
[project.optional-dependencies]
[dependency-groups]
dev = [
"isort==7.0.0",
"pre-commit==4.5.1",
"pyright==1.1.408",
"ruff==0.15.0",
]
[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]
target-version = "py314"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"ANN401", # Dynamically typed expressions (typing.Any) are disallowed in `xx`
"C901", # `xx` is too complex
"COM812", # missing-trailing-comma
"D", # docstyle
"EXE002", # no shebang
"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
]
[tool.ruff.lint.flake8-quotes]
inline-quotes = "double"
docstring-quotes = "double"
multiline-quotes = "double"