-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpyproject.toml
83 lines (75 loc) · 1.66 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
[tool.poetry]
name = "masson-aiogram-template"
version = "0.1.0"
description = "Scalable and functional aiogram template with SQLAlchemy and Github Actions integrations by MassonNn"
authors = ["MassonNn <ilyalyapin@duck.com>"]
license = "MIT License"
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = "^3.10"
aiogram = "^3.0b6"
sqlalchemy = "^2.0.17"
asyncpg = "^0.28.0"
alembic = "^1.9.2"
redis = "^4.4.2"
jinja2 = "^3.1.2"
greenlet = "^2.0.2"
[tool.poetry.group.dev]
optional=true
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.1"
pytest-asyncio = "^0.20.3"
mypy = "^1.0.1"
ruff = "^0.0.275"
blue = "^0.9.1"
[tool.ruff]
line-length = 88
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
target-version = "py310"
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade
"D", # pydocstyle
]
fixable = [
"A", "C", "D", "E", "F", "G",
"I", "N", "Q", "S", "T", "W", "ANN",
"ARG", "BLE", "COM", "DJ", "DTZ", "EM",
"ERA", "EXE", "FBT", "ICN", "INP", "ISC",
"NPY", "PD", "PGH", "PIE", "PL", "PT", "PTH",
"PYI", "RET", "RSE", "RUF", "SIM", "SLF", "TCH",
"TID", "TRY", "UP", "YTT"
]
unfixable = ["B"]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
[tool.ruff.pydocstyle]
convention = "google"
[tool.ruff.flake8-quotes]
docstring-quotes = "double"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"