-
Notifications
You must be signed in to change notification settings - Fork 3
/
pyproject.toml
42 lines (35 loc) · 938 Bytes
/
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
[tool.poetry]
name = "mongopersistence"
version = "0.3.2"
description = "Package to add persistence to your telegram bot using pymongo"
authors = ["LucaSforza <[email protected]>"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
python-telegram-bot = ">=20.1"
motor = "^3.1.2"
[tool.poetry.group.dev.dependencies]
pre-commit = "*"
ruff = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
target-version = "py310"
exclude = ["*locales*"]
[tool.ruff.lint]
select = [
"E", # pyflakes
"F", # pycodestyle errors
"W", # pycodestyle warnings
"UP", # pyupgrade
"I", # isort
"C4", # flake8-comprehensions
]
ignore = ["E501"]
ignore-init-module-imports = true
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402", "F401", "F403", "F405", "F811"]
"__main__.py" = ["E402", "F401", "F403", "F405", "F811"]