-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
72 lines (63 loc) · 1.31 KB
/
Copy pathpyproject.toml
File metadata and controls
72 lines (63 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
[tool.poetry]
authors = ["Pablo Jesús González Rubio <gonzrubio.pablo@gmail.com>"]
description = "FastAPI Production Archetype"
name = "src"
version = "0.1.0"
readme = "README.md"
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
fastapi = "^0.109"
httpx = "^0.25"
psycopg2-binary = "^2.9"
pydantic-settings = "^2.1"
python-multipart = "^0.0"
sqlalchemy = "^2.0"
sqlalchemy-utils = "^0.41"
uvicorn = "^0.24"
asgi-correlation-id = "^4.3"
[tool.poetry.group.dev.dependencies]
ruff = "^0.3.4"
pylance = "^0.10.5"
flake8 = "^7.0.0"
pylint = "^3.1.0"
pytest = "^8.1.1"
pre-commit = "^3.6.2"
poetry-plugin-export = "^1.7.1"
[tool.ruff]
lint.select = ["ALL"]
lint.ignore = [
"BLE001",
"COM812",
"ISC001",
"D100",
"D104",
"D105",
"D107",
"D205",
"D211",
"D212",
"E203",
"E266",
"ANN101",
"ANN102",
"ANN204",
"S602",
"ERA001",
"PLR0913",
"N803",
"N815",
]
target-version = "py310"
line-length = 100
[tool.flake8]
max-line-length = 100
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"src/controller/api/endpoints/customer.py" = ["N803", "B008"]
"src/repository/models/__init__.py" = ["N818", "F401"]
[tool.black]
line-length = 100
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core>=1.0.0"]