-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
53 lines (45 loc) · 1.07 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
[tool.poetry]
name = "aith-courses"
version = "0.1.0"
description = ""
authors = ["Daniil-Solo <daniil.solo1723@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.111.0"
pydantic-settings = "^2.3.4"
uvicorn = "^0.30.1"
sqlalchemy = "^2.0.31"
asyncpg = "^0.29.0"
alembic = "^1.13.2"
redis = "^5.0.7"
[tool.poetry.group.dev.dependencies]
ruff = "^0.5.0"
[tool.poetry.group.test.dependencies]
pytest = "^8.2.2"
httpx = "^0.27.0"
pytest-asyncio = "^0.23.7"
pytest-dotenv = "^0.5.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[pytest]
python_files = "test_*.py"
[tool.pytest.ini_options]
asyncio_mode = "auto"
env_files = [".test.env"]
testpaths = [
"unit_tests",
"integration_tests",
]
[tool.ruff]
fix=true
unsafe-fixes=false
line-length = 120
lint.select = ["ALL"]
lint.ignore = [
"D211", "D213", "D100", "D104", "D102", "D107", "ANN003", "B008", "PLR0913", "TCH003",
"RUF001", "RUF003", "DTZ001", "DTZ003", "DTZ005", "ARG001"
]
extend-include = ["*.ipynb"]
lint.allowed-confusables = ["с"]