-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (41 loc) · 1.14 KB
/
pyproject.toml
File metadata and controls
46 lines (41 loc) · 1.14 KB
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
[tool.poetry]
name = "MessageGuardianBot"
version = "0.1.0"
description = "Message Guardian Bot is a Telegram bot that safeguards group messages."
authors = ["Yuliy Mitryashkin"]
readme = "README.md"
package-mode = false
[tool.poetry.dependencies]
python = "3.11.9"
sqlalchemy = "^2.0.31"
alembic = "^1.13.2"
aiosqlite = "^0.20.0"
pydantic-settings = "^2.3.4"
telethon = "^1.36.0"
[tool.poetry.group.dev.dependencies]
flake8 = "^6.0.0"
isort = "^5.12.0"
pre-commit = "^3.2.2"
autopep8 = "2.0.2"
add-trailing-comma = "2.4.0"
mypy = "1.2.0"
flake8-pyproject = "^1.2.3"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
default_section = "THIRDPARTY"
sections = ["STDLIB", "FIRSTPARTY", "THIRDPARTY", "LOCALFOLDER"]
known_local_folder = ["src", "bot", "core"]
lines_after_imports = "2"
skip = ["tests", ".venv", "venv", "versions"]
line_length = "79"
multi_line_output = "3"
include_trailing_comma = "true"
use_parentheses = "true"
[tool.flake8]
max-line-length = "79"
paths = ["./bot", "./core", "./src"]
max-complexity = "10"
exclude = ["tests", ".venv", "venv", "versions"]
per-file-ignores = ["__init__.py:F401"]