-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
55 lines (49 loc) · 1.04 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
[project]
name = "moxie"
version = "0.1.0"
description = "This project is Moxie's coding assignment."
authors = [
{name = "M", email = "[email protected]"},
]
dependencies = [
"fastapi>=0.111.0",
"asyncpg>=0.29.0",
"pydantic-settings>=2.2.1",
"sqlmodel>=0.0.18",
"sqlalchemy[asyncio]>=2.0.30",
"alembic>=1.13.1",
"starlette-admin>=0.13.2",
]
requires-python = ">=3.12"
readme = "README.md"
license = {text = "MIT"}
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[tool.pdm]
distribution = true
[tool.pdm.dev-dependencies]
config = [
"python-dotenv>=1.0.1",
]
lint = [
"ruff>=0.4.3",
]
debug = [
"rich>=13.7.1",
]
[tool.pdm.scripts]
dev = "dotenv run fastapi dev"
migrate = "dotenv run alembic upgrade head"
check-fix = "ruff check --fix"
_format = "ruff format"
format = {composite = ["check-fix" , "_format"]}
[tool.ruff]
lint.select = [
# "D", # pydocstyle
"E", # pycodestyle errors
"F", # pyflakes
"I", # isort
"N", # pep8-naming
"W", # pycodestyle warnings
]