-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
43 lines (36 loc) · 1.03 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
[project]
name = "alicebot-store"
version = "0.1.0"
requires-python = ">=3.10"
dependencies = ["markdown-it-py>=3.0.0", "githubkit>=0.11.2", "httpx>=0.27.0"]
[tool.pdm]
distribution = false
[tool.pdm.dev-dependencies]
lint = ["ruff"]
dev = ["alicebot"]
[tool.pdm.scripts.start]
call = "src:main"
[tool.ruff]
line-length = 88
target-version = "py310"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"FBT", # flake8-boolean-trap
"COM", # flake8-commas
"EM", # flake8-errmsg
"D415", # First line should end with a period, question mark, or exclamation point
"ANN101", # Missing type annotation for self
"ANN102", # Missing type annotation for cls
"BLE001", # Do not catch blind exception
"TRY003", # Avoid specifying long messages outside the exception class
"RUF001", # String contains ambiguous
"RUF002", # Docstring contains ambiguous
"RUF003", # Comment contains ambiguous
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.pyright]
pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "strict"