-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
58 lines (53 loc) · 1.31 KB
/
pyproject.toml
File metadata and controls
58 lines (53 loc) · 1.31 KB
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
[project]
name = "python-service"
version = "0.1.0"
description = "Add your description here"
license = "MIT"
requires-python = ">=3.13"
dependencies = [
"asyncpg>=0.31.0",
"bcrypt>=5.0.0",
"faststream[kafka]>=0.6.4",
"litestar-granian>=0.14.2",
"litestar[jwt,prometheus,pydantic,sqlalchemy]>=2.19.0",
"pydantic-settings>=2.12.0",
]
[dependency-groups]
dev = [
"pre-commit>=4.5.1",
"pytest>=9.0.2",
"pytest-asyncio>=1.3.0",
"ruff>=0.14.10",
"uvicorn>=0.38.0",
]
[tool.ruff]
line-length = 130
exclude = ["migrations"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["tests"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]
asyncio_mode="auto"
asyncio_default_fixture_loop_scope="function"
addopts = [
"-vv",
"--import-mode=importlib"
]
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
"ARG001", # unused arguments in functions
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"W191", # indentation contains tabs
"B904", # Allow raising exceptions without from e, for HTTPException
]