-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
139 lines (123 loc) · 2.36 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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
[build-system]
requires = [
'setuptools==68.1.2',
]
build-backend = 'setuptools.build_meta'
[project]
name = 'zametka'
version = '0.0.1'
description = 'zametka API'
readme = 'README.md'
requires-python = '>=3.11.1'
dependencies = [
'alembic==1.11.1',
'asyncpg==0.29.0',
'fastapi==0.111.0',
'SQLAlchemy==2.0.22',
'uvicorn==0.29.0',
'email-validator==2.1.1',
'argon2-cffi',
'aiosmtplib==2.0.2',
'Jinja2~=3.1.2',
'pydantic~=2.7.1',
'starlette~=0.37.2',
'aiohttp==3.9.1',
'Brotli==1.1.0',
'adaptix==3.0.0b5',
'aio-pika==9.3.1',
'dishka==1.1.1',
'PyJWT==2.8.0',
]
[project.optional-dependencies]
dev = [
'pytest==8.2.0',
'pytest-asyncio==0.23.6',
'mypy==1.3.0',
'ruff==0.4.2',
'pre-commit==3.7.0',
]
test = [
'pytest==8.2.0',
'pytest-asyncio==0.23.6',
]
lint = [
'mypy==1.3.0',
'ruff==0.4.2'
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = [
'access: tests related to access context.',
'notes: tests related to notes context.',
'domain: domain tests',
'application: application tests',
]
filterwarnings = "ignore::DeprecationWarning"
[project.scripts]
zametka = "zametka.main.cli:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.mypy]
strict = true
warn_unreachable = true
show_column_numbers = true
show_error_context = true
check_untyped_defs = true
ignore_missing_imports = false
[tool.ruff]
line-length = 88
exclude = [
"notes"
]
[tool.ruff.lint]
select = ['ALL']
ignore = [
# Rules that should be turned on in the near future
'N818',
'B904',
'FIX002',
'RUF012',
# Rules emitting false alerts
'N804',
'B008',
'BLE001',
'RUF009',
'RUF001',
# Rules that are not applicable in the project for now
'D',
'TID252',
'D104',
'ANN',
'SLF001',
'ARG',
'D100',
'PLR0913',
'TCH002',
'EXE002',
# Strange and obscure rules that will never be turned on
'ANN101',
'FA100',
'TRY003',
'TRY201',
'EM',
'PERF203',
'TCH001',
'TD002',
'PTH201',
'RSE102',
'RET504',
'FBT001',
'TD003',
'B024',
'ISC001',
'B027',
]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ['F401']
"test_*" = ['S101', 'PLR2004', 'PT023', 'PT001', 'PT006']
"conftest.py" = ['PT023', 'PT001', 'PT006']
"cli.py" = ["T201"]
[[project.authors]]
name = 'lubaskinc0de'
email = 'lubaskincorporation@gmail.com'