-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
108 lines (100 loc) · 1.71 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.mypy]
strict = true
warn_unused_configs = true
check_untyped_defs = true
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
no_implicit_reexport = true
disallow_untyped_defs = true
[tool.ruff]
line-length = 120
target-version="py311"
src = ["src"]
include = ["src/**.py", "tests/**.py"]
lint.select = [
"ALL"
]
lint.ignore = [
"ARG",
"ANN",
"D",
"EM101",
"EM102",
"PT001",
"PT023",
"SIM108",
"SIM114",
"TRY003",
"PLW2901",
"RET505",
"PLR0913",
"S101",
"S608",
"SIM117",
"S105",
]
[tool.ruff.lint.per-file-ignores]
"tests/**" = [
"TID252",
"PLR2004",
"S101",
"S311",
"S105",
"S106",
]
[tool.ruff.lint.isort]
no-lines-before = ["local-folder"]
[project]
name = "just_chat"
version = "0.0.0"
authors = [
{ name = "Sequew", email = "[email protected]" },
]
description = "Chat with Clean Architecture, TDD and more"
requires-python = ">=3.11"
dependencies = [
"fastapi",
"passlib[argon2]",
"aiohttp",
"uvicorn",
"gunicorn",
"websockets",
"aiogram",
"psycopg[binary]",
"sqlalchemy",
"alembic",
"motor",
"minio",
"redis",
"faststream[rabbit]",
]
[project.optional-dependencies]
test = [
"pytest",
"pytest-asyncio",
"pytest-cov",
"httpx",
]
lint = [
"ruff",
]
migrations = [
"alembic"
]
types-checking = [
"mypy",
"types-passlib",
"motor-stubs",
]
dev = [
"just_chat[test, lint, types-checking]",
]
[project.urls]
"Homepage" = "https://github.com/KrySeyt/JustChat"