-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
65 lines (57 loc) · 1.35 KB
/
pyproject.toml
File metadata and controls
65 lines (57 loc) · 1.35 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
[project]
name = "lw1"
version = "0.1.0"
description = ""
authors = [{ name = "Lukas Winkler", email = "git@lw1.at" }]
requires-python = ">=3.13,<3.15"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
dependencies = [
"Jinja2>=3.1.1,<4",
"toml>=0.10.2,<0.11",
"watchfiles>=1.0.0,<2",
"python-slugify>=8.0.0,<9",
"PyYAML>=6.0,<7",
"Markdown>=3.3.6,<4",
"Pygments>=2.11.2,<3",
"markdown-katex>=202406.1035,<202407",
"Babel>=2.10.1,<3",
"redis>=7.0.0",
"hiredis>=3.1.0,<4",
"lxml-stubs>=0.5.1,<0.6",
"thumbhash-python",
"pillow>=12.0.0",
]
[project.scripts]
lw1 = "lw1.main:main"
[dependency-groups]
dev = ["ruff>=0.15.0"]
[tool.uv]
default-groups = "all"
[tool.uv.sources]
thumbhash-python = { git = "https://github.com/Findus23/thumbhash-python.git" }
[tool.uv.build-backend]
module-root = ""
[build-system]
requires = ["uv_build>=0.10.4,<0.11.0"]
build-backend = "uv_build"
[tool.ruff]
line-length = 110
[tool.ruff.lint]
extend-select = ["E711"]
select = [
"E101", # checks about indentation and whitespace about operators
"E112",
"E113",
"E115",
"E117",
"E225",
"E227",
"E228",
"YTT", # old python-like code
"W", # trailing whitespace and whitespace in empty lines
"UP"
]