-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
63 lines (57 loc) · 1.47 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
[project]
name = "hetznerbot"
version = "1.0.0"
description = "A bot for finding the best offers from hetzner"
authors = [{ name = "Arne Beer", email = "[email protected]" }]
license = "MIT"
requires-python = ">=3.13"
dependencies = [
"alembic>=1",
"dateparser>=1",
"prettytable>=3.12.0",
"psycopg2-binary>=2",
"python-telegram-bot[job-queue,webhooks]>=21.8",
"requests>=2",
"sentry-sdk>=2",
"SQLAlchemy>=2",
"sqlalchemy-utils>=0.41",
"toml>=0.10",
"typer>=0.15",
]
[project.urls]
Repository = "https://github.com/nukesor/hetznerbot"
[tool.uv]
dev-dependencies = ["ruff>=0.8", "types-toml>=0.10.8"]
# Check the Ruff documentation for more info on how to configure this
# General docs: https://docs.astral.sh/ruff/configuration/
# Explicit docs for individual settings: https://docs.astral.sh/ruff/settings/
[tool.ruff]
line-length = 88
indent-width = 4
target-version = "py311"
exclude = [".venv", "__init__.py"]
[tool.ruff.lint]
select = [
"E", # Pycodestyle
"F", # Pyflakes
"I", # Isort
"UP", # Language feature updates
"RUF", # Ruff Rules
]
fixable = [
"E",
"F",
"I",
"UP", # Language feature updates
"RUF", # Ruff Rules
]
# 4. Ignore `E402` (import violations) in all `__init__.py` and misc files.
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["E402"]
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = true
docstring-code-line-length = "dynamic"