-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
116 lines (100 loc) · 2.1 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
[tool.poetry]
name = "vk-parser"
version = "0.1.0"
description = "Parser for downloading group members"
authors = ["Sergey Natalenko <sergey.natalenko@mail.ru>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.11"
aiomisc = {extras = ["asgi", "rich", "uvloop"], version = "^17.3.41"}
aiomisc-dependency = "^0.1.20"
SQLAlchemy = "^2.0.25"
alembic = "^1.13.1"
asyncpg = "^0.29.0"
ConfigArgParse = "^1.7"
orjson = "^3.9.10"
msgspec = "^0.18.5"
pydantic = "^2.5.3"
aiohttp-cors = "^0.7.0"
aio-pika = "^9.3.1"
greenlet = "^3.0.3"
pytz = "^2023.3.post1"
aiohttp-jinja2 = "^1.6"
[tool.poetry.group.dev.dependencies]
mypy = "^1.8.0"
pre-commit = "^3.6.0"
pytest = "^7.4.4"
aiomisc-pytest = "^1.1.1"
ruff = "^0.1.11"
types-pytz = "^2023.3.1.1"
bandit = "^1.7.7"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
asyncio_mode = "auto"
python_files = "test_*"
python_functions = "test_*"
python_classes = "TestSuite*"
addopts = "-p no:cacheprovider"
[tool.black]
target-version = ["py311"]
[tool.isort]
known_local_folder = ["vk_parser", "tests"]
py_version = "311"
profile = "black"
[tool.mypy]
plugins = ["pydantic.mypy"]
check_untyped_defs = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
ignore_missing_imports = false
no_implicit_optional = true
[[tool.mypy.overrides]]
module = "aiomisc_dependency.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "configargparse.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "msgpack.*"
ignore_missing_imports = true
[[tool.mypy.overrides]]
module = "aiohttp_cors.*"
ignore_missing_imports = true
[tool.ruff]
exclude = [
".git",
".mypy_cache",
".ruff_cache",
".venv",
]
line-length = 88
indent-width = 4
target-version = "py311"
[tool.ruff.lint]
select = [
"BLE",
"C90",
"E",
"F",
"G",
"I",
"ICN",
"ISC",
"PLE",
"Q",
"RUF006",
"RUF100",
"T10",
"T20",
"TID",
"UP",
"W",
]
ignore = ["ISC001"]
fixable = ["ALL"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"