-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
75 lines (65 loc) · 1.28 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
67
68
69
70
71
72
73
74
75
[tool.poetry]
name = "anilist-cmp"
version = "0.0.1"
description = "A small webserver that returns the data in which you visited it."
authors = ["Alex Nørgaard <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.12"
litestar = { version = "*", extras = ["standard"] }
uvicorn = "*"
[tool.poetry.group.dev.dependencies]
ruff = "*"
[tool.ruff]
line-length = 125
target-version = "py312"
[tool.ruff.lint]
select = [
"C4",
"F",
"G",
"I",
"PTH",
"RUF",
"SIM",
"TCH",
"UP",
"W",
"PERF",
"ANN",
]
ignore = [
"F401",
"F402",
"F403",
"F405",
"PERF203",
"RUF001",
"RUF009",
"SIM105",
"UP034",
"UP038",
"ANN101",
"ANN102",
"ANN401",
]
[tool.ruff.lint.isort]
split-on-trailing-comma = true
combine-as-imports = true
[tool.ruff.lint.flake8-annotations]
allow-star-arg-any = true
[tool.ruff.lint.flake8-pytest-style]
fixture-parentheses = false
mark-parentheses = false
parametrize-names-type = "csv"
[tool.ruff.lint.flake8-quotes]
inline-quotes = "single"
[tool.pyright]
venvPath = "."
venv = ".venv/"
pythonVersion = "3.12"
useLibraryCodeForTypes = true
typeCheckingMode = "strict"
reportImportCycles = false
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"