-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
58 lines (52 loc) · 1013 Bytes
/
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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "fastapi-celery-playground"
version = "0.0.1"
description = "FastAPI Playground"
authors = ["Krishnasis Mandal <[email protected]>"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "^3.11"
fastapi = "^0.110.0"
uvicorn = "^0.28.1"
python-multipart = "^0.0.9"
celery = "^5.3.6"
redis = "^5.0.3"
[tool.poetry.dev-dependencies]
ruff = "^0.3.3"
[tool.ruff]
indent-width = 4
line-length = 120
select = [
# pycodestyle
"E", "W",
# Pyflakes
"F",
# pyupgrade
"UP",
# flake8-bugbear
"B",
# flake8-simplify
"SIM",
# isort
"I",
# MaccaBe
"C901",
# Pep8-naming
#"N", # TODO: enable
]
fix = true
fixable = ["ALL"]
exclude = ["docs"]
preview = true
# Ignore FastAPI Depends()
extend-ignore = ["B008"]
[tool.ruff.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
log_cli=true
log_level="NOTSET"
asyncio_mode="auto"