-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml.jinja
More file actions
41 lines (39 loc) · 967 Bytes
/
Copy pathpyproject.toml.jinja
File metadata and controls
41 lines (39 loc) · 967 Bytes
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
[project]
name = "{{ project_slug }}"
version = "0.1.0"
description = "A Litestar application"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"litestar[standard]>=2.16.0",
"python-dotenv>=1.1.0",
{% if advanced_alchemy %}
"advanced-alchemy>=1.8.2",
{% if database.value == "PostgreSQL" %}
"psycopg[binary,pool]>=3.3.2",
{% elif database.value == "SQLite" %}
"aiosqlite>=0.22.1",
{% elif database.value == "MySQL" %}
"asyncmy>=0.2.10",
{% endif %}
{% endif %}
{% if litestar_vite %}
"litestar-vite>=0.18.1",
{% endif %}
{% if has_store %}
"redis>=5.2.1",
{% endif %}
{% if litestar_saq %}
"litestar-saq>=0.7.0",
{% endif %}
]
[tool.ruff]
line-length = 120
target-version = "py313"
lint.ignore = [
"CPY001", # Missing copyright notice
"PLC0415", # Import outside top level
"PLR0911", # Too many return statements
]
[dependency-groups]
dev = ["pre-commit>=4.5.1", "ruff>=0.14.13", "ty>=0.0.12"]