-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
53 lines (43 loc) · 979 Bytes
/
pyproject.toml
File metadata and controls
53 lines (43 loc) · 979 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
42
43
44
45
46
47
48
49
50
51
52
53
[tool.poetry]
name = "python-backend-template"
version = "0.1.0"
description = ""
authors = ["Terri Jang <terricodes@gmail.com>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.111.1"
pydantic = "^2.8.2"
sqlmodel = "^0.0.20"
python-dotenv = "^1.0.1"
pyjwt = "^2.9.0"
[tool.poetry.group.dev.dependencies]
mypy = "^1.11.0"
ruff = "^0.5.3"
black = "^24.4.2"
pytest = "^8.2.2"
pre-commit = "^3.7.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
exclude = ["README.md"]
[tool.ruff.lint]
ignore = ["E203", "E302", "E305", "E401", "E402", "F403"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.black]
line-length = 120
[tool.mypy]
python_version = "3.12"
plugins = ["pydantic.mypy"]
disallow_untyped_decorators = false
strict = true
ignore_missing_imports = true
no_namespace_packages = true
[tool.pytest.ini_options]
testpaths = [
"tests"
]