-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
64 lines (53 loc) · 1.59 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
[tool.poetry]
name = "f1 schedule telegram bot"
version = "0.1.0"
description = "Telegram bot to notify telegram users, groups and channels of upcoming F1 events."
authors = ["Jurriaan Den Toonder <[email protected]>"]
license = "MIT"
readme = "README.md"
packages = [
{ include = "f1_schedule_telegram_bot" },
]
repository = "https://github.com/Fastjur/F1ScheduleTelegramBot"
[tool.poetry.dependencies]
python = "^3.10.6"
python-dotenv = "^1.0.0"
python-telegram-bot = {extras = ["job-queue"], version = "^20.2"}
requests = "^2.31.0"
ics = "^0.7.2"
arrow = "^1.2.3"
ergast-py = "^0.7.0"
prettytable = "^3.7.0"
pillow = "^10.2.0"
[tool.poetry.group.dev.dependencies]
pylama = {extras = ["toml", "mypy", "pylint", "eradicate", "radon", "vulture"], version = "^8.4.1"}
black = "^23.3.0"
types-requests = "^2.30.0.0"
# Lock pydocstyle to a version lower than 6.2, otherwise the build errors
# https://github.com/klen/pylama/issues/232
pydocstyle = "^6.0.0, <6.2.0"
isort = "^5.12.0"
pytest = "^7.4.2"
pytest-asyncio = "^0.21.1"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry.scripts]
main = "f1_schedule_telegram_bot.main:main"
[tool.poetry.urls]
issues = "https://github.com/Fastjur/F1ScheduleTelegramBot/issues"
[tool.pylama]
linters = "pycodestyle,pyflakes,mccabe,pylint,radon,mypy,vulture"
ignore = "D202,D203,D212,W1203"
# Skip .venv in github actions
skip = ".venv/*,tests/*"
[tool.vulture]
min_confidence = 70
[tool.black]
line-length = 79
target-version = ["py310"]
[tool.pylint.format]
max-line-length = 79
[tool.isort]
profile = "black"
line_length = 79