-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
76 lines (69 loc) · 1.77 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[tool.poetry]
name = "admin_backend"
version = "2.17.37"
description = ""
authors = ["CPR-dev-team <tech@climatepolicyradar.org>"]
packages = [{ include = "app" }, { include = "tests" }]
[tool.poetry.dependencies]
python = "^3.10"
fastapi = "^0.103.0"
fastapi-health = "^0.4.0"
fastapi-pagination = "^0.12.9"
python-slugify = "^6.1.2"
requests = "^2.28"
requests-toolbelt = "^0.10.1"
SQLAlchemy = "^1.4.53"
SQLAlchemy-Utils = "^0.38.2"
uvicorn = { extras = ["standard"], version = "^0.32.1" }
json-logging = "^1.3.0"
httpx = "^0.24.1"
psycopg2-binary = "^2.9.3"
pylint = "^3.2.7"
pyjwt = "^2.8.0"
passlib = "^1.7.4"
python-multipart = "^0.0.9"
pip = "^24.2"
poetry = "^1.6.1"
boto3 = "^1.34.151"
moto = "^4.2.2"
types-sqlalchemy = "^1.4.53.38"
urllib3 = "^1.26.17"
db-client = { git = "https://github.com/climatepolicyradar/navigator-db-client.git", tag = "v3.8.28" }
navigator-notify = { git = "https://github.com/climatepolicyradar/navigator-notify.git", tag = "v0.0.2-beta" }
bcrypt = "4.0.1"
fastapi-cli = "^0.0.5"
pytest-watch = "^4.2.0"
fastapi-utils = { version = "0.8.0", extras = ["all"] }
[tool.poetry.dev-dependencies]
pre-commit = "^3.8.0"
python-dotenv = "^0.21.0"
pytest = "^8.3.2"
pytest-dotenv = "^0.5.2"
pytest-mock = "^3.7.0"
black = "^24.4.2"
pyright = "1.1.391"
pytest-asyncio = "^0.24.0"
ruff = "^0.7.3"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
addopts = "--import-mode=importlib"
env_files = """
.env.test
.env
"""
markers = ["unit", "s3"]
asyncio_mode = "strict"
[tool.pydocstyle]
ignore = """
"""
[tool.black]
line-length = 88
target-version = ["py39"]
exclude = "^/alembic/versions/"
[tool.pyright]
include = ["app", "tests"]
exclude = ["**/__pycache__"]
pythonVersion = "3.10"
venv = "admin-backend"