This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 79
/
pyproject.toml
71 lines (65 loc) · 1.39 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
71
[tool.poetry]
name = "ultimate-pollbot"
version = "1.6.0"
description = "A telegram bot for creating all kinds of polls."
authors = ["Arne Beer <[email protected]>"]
license = "MIT"
repository = "https:/nukesor/ultimate-poll-bot"
[tool.poetry.dependencies]
python = "^3.10"
alembic = "^1"
argparse = "^1"
matplotlib = "^3"
python-telegram-bot = "^13"
sentry-sdk = "^1"
SQLAlchemy = "^1"
sqlalchemy-utils = "^0.38"
pandas = "^2"
pillow = "^10"
psycopg2-binary = "^2"
python-dateutil = "^2"
python-i18n = { version = "^0.3", extras = ["yaml"] }
"ruamel.yaml" = "^0.18"
toml = "^0.10"
typer = "^0.9"
[tool.poetry.dev-dependencies]
ruff = "^0.1"
pytest = "^7"
types-toml = "^0.10"
[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
]
ignore = [
"RUF001",
"E501",
]
# 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"