-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
49 lines (43 loc) · 958 Bytes
/
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
[project]
name = "rodhaj"
version = "0.3.1"
description = "A improved, modern version of ModMail for Transprogrammer"
license = {file = "LICENSE"}
requires-python = ">=3.10,<4.0"
[tool.pyright]
include = ["bot/**"]
exclude = ["**/__pycache__"]
reportMissingImports = true
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = "warning"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
ignore = [
"E501",
"N999",
"E402",
"S311",
"ASYNC109",
# These are recommended by Ruff if the formatter is to be used: https://docs.astral.sh/ruff/formatter/#conflicting-lint-rules
"W191",
"E111",
"E114",
"E117",
"D206",
"D300",
"Q000",
"Q001",
"Q002",
"Q003",
"COM812",
"COM819",
"ISC001",
"ISC002"
]
select = ["E", "F", "N", "ASYNC", "S", "ERA", "I"]
fixable = ["ALL"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.format]
docstring-code-format = true