-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (54 loc) · 1.74 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (54 loc) · 1.74 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
[project]
name = "fastapi-jinja2-postgres-webapp"
version = "0.1.25"
description = "A template webapp with a pure-Python FastAPI backend, frontend templating with Jinja2, and a Postgres database to power user auth"
readme = "README.md"
package-mode = false
authors = [
{name = "Christopher Carroll Smith", email = "chriscarrollsmith@gmail.com"},
]
requires-python = "<4.0,>=3.13"
dependencies = [
"sqlmodel<1.0.0,>=0.0.22",
"pyjwt<3.0.0,>=2.10.1",
"jinja2<4.0.0,>=3.1.4",
"uvicorn<1.0.0,>=0.32.0",
"pydantic[email]<3.0.0,>=2.9.2",
"python-multipart<1.0.0,>=0.0.17",
"python-dotenv<2.0.0,>=1.0.1",
"resend<3.0.0,>=2.4.0",
"bcrypt<5.0.0,>=4.2.0",
"fastapi<1.0.0,>=0.115.5",
"pillow>=11.0.0",
"psycopg2-binary>=2.9.10",
]
[dependency-groups]
dev = [
"graphviz<1.0.0,>=0.20.3",
"quarto<1.0.0,>=0.1.0",
"jupyter<2.0.0,>=1.1.1",
"notebook<8.0.0,>=7.2.2",
"pytest<9.0.0,>=8.3.3",
"sqlalchemy-schemadisplay<3.0,>=2.0",
"ty>=0.0.21",
"ruff>=0.15.5",
"pytest-jinja-check[fastapi]>=1.0.2",
"pytest-playwright>=0.7.2",
"pre-commit>=4.6.0",
]
[tool.ty.rules]
# SQLModel/SQLAlchemy metaclass attributes (__table__) and constructor
# patterns are not understood by ty, nor is pytest's @_with_exception
# decorator on pytest.fail, nor resend library type stubs.
invalid-argument-type = "warn"
unresolved-attribute = "warn"
missing-argument = "warn"
[[tool.ty.overrides]]
include = ["tests/**"]
[tool.ty.overrides.rules]
# pytest.fail uses @_with_exception decorator that ty doesn't understand,
# SQLModel constructors have metaclass-generated parameters, and
# Response.body type is overly broad in stubs.
invalid-argument-type = "ignore"
unresolved-attribute = "ignore"
missing-argument = "ignore"