aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: e0eea5a8524f40348de3d2f8317bf12a10136493 (plain) (blame)
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
[tool.poetry]
name = "metricity"
version = "2.2.0"
description = "Advanced metric collection for the Python Discord server"
authors = ["Joe Banks <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "3.10.*"

# See https://bot-core.pythondiscord.com/ for docs.
pydis-core = "10.1.0"

alembic = "1.11.3"
aiohttp = "3.8.4"
coloredlogs = "15.0.1"
deepmerge = "1.1.0"
gino = "1.0.1"
python-dotenv = "1.0.0"
psycopg2-binary = "2.9.7"
toml = "0.10.2"

[tool.poetry.dev-dependencies]
pre-commit = "3.3.3"
ruff = "0.0.285"

[tool.poetry.scripts]
start = "metricity.__main__:start"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

[tool.ruff]
target-version = "py310"
extend-exclude = [".cache", "alembic"]
ignore = [
    "ANN002", "ANN003", "ANN101",
    "C901",
    "D100", "D104", "D105", "D107", "D203", "D212", "D214", "D215", "D416",
    "EM",
    "PLR0912",
    "TRY003",
]
line-length = 120
select = ["ALL"]

[tool.ruff.per-file-ignores]
"metricity/models.py" = ["A003"]