-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (74 loc) · 1.51 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (74 loc) · 1.51 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
71
72
73
74
75
76
77
78
[project]
name = "painterest"
version = "0.1.0"
description = "Privacy-respecting, anonymous, NoJS-supporting Pinterest frontend."
license = "AGPL-3.0-or-later"
readme = "README.md"
requires-python = ">=3.12"
authors = [
{ name = "Zubarev Grigoriy", email = "thirtysix@thirtysix.pw" }
]
dependencies = [
"fastapi>=0.112.1",
"uvicorn[standard]>=0.30.6",
"jinja2>=3.1.4",
"aiohttp>=3.10.5",
"selectolax>=0.3.21",
"async-lru>=2.0.4",
]
[dependency-groups]
dev = [
"basedpyright>=1.28.3",
"fastapi-tailwind>=1.0.1a2",
]
[tool.ruff]
target-version = "py312"
line-length = 99
exclude = [
".git",
".venv",
".idea",
".tests",
"build",
"dist",
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"S", # flake8-bandit
"B", # flake8-bugbear
"G", # flake8-logging-format
"C4", # flake8-comprehensions
"UP", # pyupgrade
"PLC", # pylint conventions
"PLE", # pylint errors
"SIM", # flake8-simplify
"RET", # flake8-return
"YTT", # flake8-2020
"RUF", # ruff-specific rules
"TCH", # flake8-type-checking
"PTH", # flake8-use-pathlib
"ASYNC", # flake8-async
]
ignore = [
"E501",
"S105",
]
[tool.basedpyright]
exclude = [
".git",
".venv",
".idea",
".tests",
"build",
"dist",
]
typeCheckingMode = "standard"
pythonPlatform = "All"
pythonVersion = "3.12"
reportMissingImports = true
reportMissingTypeStubs = false