aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: 4ef81c8fb06d5d35cda6b3b24db9fa6baaa94792 (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
50
51
52
53
54
55
56
57
58
59
[tool.poetry]
name = "metricity"
version = "2.3.1"
description = "Advanced metric collection for the Python Discord server"
authors = ["Joe Banks <[email protected]>"]
license = "MIT"

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

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

alembic = "1.12.0"
coloredlogs = "15.0.1"
deepmerge = "1.1.0"
sqlalchemy = { extras = ["asyncio"], version = "2.0.20" }
python-dotenv = "1.0.0"
toml = "0.10.2"
asyncpg = "0.28.0"

[tool.poetry.dev-dependencies]
pre-commit = "3.4.0"
ruff = "0.0.287"

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

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

[tool.ruff]
target-version = "py311"
extend-exclude = [".cache"]
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"]
"alembic/*" = ["INP001"]