-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
61 lines (52 loc) · 1.45 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
[tool.poetry]
name = "code-jam-management"
version = "1.0.0"
description = "Management microservice for Python Discord Code Jams"
authors = ["Python Discord <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "3.11.*"
alembic = {version = "1.10.2", extras = ["tz"]}
fastapi = "0.95.0"
python-decouple = "3.8"
SQLAlchemy = {version = "1.4.45", extras = ["asyncio", "postgresql_asyncpg"]}
uvicorn = {version = "0.21.1", extras = ["standard"]}
[tool.poetry.group.dev.dependencies]
poetry-plugin-export = "1.3.0"
taskipy = "1.10.3"
[tool.poetry.group.linting.dependencies]
black = "23.1.0"
flake8 = "6.0.0"
flake8-annotations = "3.0.0"
flake8-bugbear = "23.3.12"
flake8-docstrings = "1.7.0"
flake8-isort = "6.0.0"
flake8-string-format = "0.3.0"
flake8-tidy-imports = "4.8.0"
flake8-todo = "0.7"
isort = "5.12.0"
pep8-naming = "0.13.3"
pre-commit = "3.2.0"
[tool.poetry.group.testing.dependencies]
coveralls = "3.3.1"
httpx = "0.23.3"
hypothesis = "6.70.0"
pytest = "7.2.2"
pytest-asyncio = "0.18.3"
pytest-cov = "4.0.0"
[build-system]
requires = ["poetry-core>=1.2.0"]
build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
revision = "alembic revision --autogenerate -m"
migrate = "alembic upgrade head"
black = "black migrations tests api"
isort = "isort ."
webserver = "uvicorn api.main:app"
[tool.isort]
profile = "black"
line_length = 120
[tool.black]
line-length = 120