-
Notifications
You must be signed in to change notification settings - Fork 2
/
pyproject.toml
49 lines (41 loc) · 1.14 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
[tool.poetry]
name = "rollbot"
version = "2.1.0"
description = "Rollbot is a Discord bot for rolling dice."
authors = ["Thijs Miedema <[email protected]>"]
license = "MIT"
packages = [
{include="rollbot", from="src"}
]
[tool.poetry.dependencies]
python = "~3.12"
numpy = "^2"
matplotlib = "^3"
lark = "^1.2.2"
discord-py = "^2.3.2"
setuptools = "^75.0.0"
python-dotenv = "^1.0.1"
structlog = "^24.4.0"
[tool.poetry.group.dev.dependencies]
ruff = "^0.8"
pytest = "^8.3.3"
pytest-cov = "^6.0.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
target-version = "py312"
[tool.ruff.lint]
select = ["A", "C", "E", "F", "UP", "RUF", "I", "PL", "PTH", "TID252", "SIM"]
ignore = ["E402", "PLR2004", "PLR0913", "RUF001"]
fixable = ["C", "E", "F", "UP", "I", "PL", "RUF", "PTH", "PLC", "TID252", "SIM"]
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.pytest.ini_options]
addopts = "--cov=rollbot --cov-report xml --cov-report term-missing --cov-fail-under=75 --cov-branch"
[tool.coverage.run]
omit = [
"src/rollbot/bot/*",
]