-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
66 lines (59 loc) · 1.17 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[project]
name = "catherine-chan"
version = "1.0.0-final"
description = "An informational LGBTQ based discord bot"
readme = "README.md"
license = {file = "LICENSE"}
requires-python = ">=3.9,<4.0"
[tool.pyright]
include = ["bot/**"]
exclude = [
"**/__pycache__",
"**/.mypy_cache",
"**/.dmpypy.json",
"docs",
"docker",
"bot/tests/**"
]
reportMissingImports = true
typeCheckingMode = "basic"
reportUnnecessaryTypeIgnoreComment = "warning"
[tool.ruff]
line-length = 88
[tool.ruff.lint]
ignore = [
"E501",
"N999",
"E402",
"S311",
"ASYNC109",
"S101",
# 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"]
fixable = ["ALL"]
[tool.ruff.lint.isort]
combine-as-imports = true
[tool.ruff.format]
docstring-code-format = true
[tool.pytest.ini_options]
minversion = "8.0"
addopts = "-ra"
testpaths = [
"bot/tests"
]
pythonpath = ["bot"]