-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
70 lines (62 loc) · 1.43 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
[tool.poetry]
name = "chatushka"
version = "$__VERSION__"
description = "Bot that can make your chat explode!"
authors = ["Aleksandr Shpak <[email protected]>"]
readme = "readme.md"
homepage = "$__URL__"
repository = "$__URL__"
[tool.poetry.dependencies]
python = "^3.9"
click = "^8.0.1"
httpx = "^0.22.0"
pydantic = {extras = ["dotenv"], version = "^1.8.2"}
aiocron = "^1.6"
motor = "^2.5.0"
PyYAML = "^6.0"
[tool.poetry.dev-dependencies]
pytest = "^7.0.1"
isort = "^5.9.2"
black = "^22.1.0"
flake8 = "^4.0.1"
pylint = "^2.9.3"
mypy = "^0.931"
pre-commit = "^2.13.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 120
verbose = 1
color = true
exclude = '''
(
/(
\.eggs
| \.git
| \.mypy_cache
| \.pytest_cache
| \.venv
)/
)
'''
[tool.isort]
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
use_parentheses = true
ensure_newline_before_comments = true
line_length = 120
src_paths = ["chatushka", "tests"]
skip = [".mypy_cache", ".pytest_cache", "venv"]
[tool.pylint.messages_control]
disable = "missing-docstring,logging-fstring-interpolation,too-few-public-methods,too-many-arguments,duplicate-code"
extend-ignore = "E203,W503"
[tool.pylint.format]
max-line-length = "120"
indent-string = " "
good-names = "db, i, x, y, T, fh"
[tool.pylint.master]
ignore = "venv,tests"
indent-string = " "
extension-pkg-whitelist = "pydantic"