-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
64 lines (59 loc) · 1.68 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
62
63
64
[tool.poetry]
name = "e-store"
version = "0.1.0"
description = ""
authors = ["Yossef-Dawoad <yossefdawoad15@gmail.com>"]
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
fastapi = {extras = ["all"], version = "^0.112.0"}
psycopg = {extras = ["binary", "pool"], version = "^3.2.1"}
sqlalchemy = "^2.0.31"
pydantic = {extras = ["email"], version = "^2.8.2"}
sqlmodel = "^0.0.21"
alembic = "^1.13.2"
passlib = { extras = ["argon2"], version = "^1.7.4" }
pyjwt = { extras = ["crypto"], version = "^2.8.0" }
python-multipart = "^0.0.9"
celery = { extras = ["redis"], version = "^5.4.0" }
slowapi = "^0.1.9"
flower = "^2.0.1"
fastapi-mail = "^1.4.1"
jinja2 = "^3.1.4"
[tool.poetry.group.dev.dependencies]
pytest = "^7.4.4"
ruff = "^0.5.1"
httpx = "^0.25.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
extend-select = [
'C4',
"F", # pyflakes
"E", # Errors
"W", # warnnings
"RUF", # Ruff-specific rules
"PERF", #PREFlint
"PL", # PYLINT
"UP", # pyupgrade
'SIM', #sim for code simplification
'TCH', #tch for type checking
'F707', # Syntax error in forward annotation
'I001', # Import block is un-sorted or un-formatted
'I002', # Missing required import:
'COM', # FLAKE COMMA
'ANN', # flake8-annotations
'PYI052', #Need type annotation for
'DTZ', #FLAKE datetime
'ASYNC', #FLAKE ASYNC
'PLE1700',
]
show-fixes = true
target-version = "py310"
line-length = 110
ignore = ['E501', 'SIM115', 'ANN101', "UP007", "E701"]
extend-exclude = ['alembic', 'migrations']
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D", "CPY001"]