-
Notifications
You must be signed in to change notification settings - Fork 5
/
pyproject.toml
52 lines (45 loc) · 1.06 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
[tool.poetry]
name = "discord-free-game-notifier"
version = "1.1.0"
description = "Send webhook to Discord when a new game releases on Epic, Steam, GOG and Ubisoft."
authors = ["Joakim Hellsén <tlovinator@gmail.com>"]
license = "GPL-3.0-or-later"
[tool.poetry.scripts]
bot = "discord_free_game_notifier.main:main"
[tool.poetry.dependencies]
python = "^3.12"
apscheduler = "^3.10.4"
beautifulsoup4 = "^4.12.3"
discord-webhook = "^1.3.1"
loguru = "^0.7.2"
platformdirs = "^4.2.2"
python-dotenv = "^1.0.1"
requests = "^2.32.3"
[tool.poetry.group.dev.dependencies]
pre-commit = "^4.0.0"
pytest = "^8.3.2"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
fix = true
unsafe-fixes = true
preview = true
line-length = 140 # Because we have JSON in the code that is long
lint.select = ["ALL"]
lint.ignore = [
"D100",
"D104",
"CPY001",
"ERA001",
"TD002",
"TD003",
"FIX002",
"COM812",
"ISC001",
"DJ001",
]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["S101", "SIM114"]