-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (42 loc) · 1.17 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
[tool.poetry]
name = "jg.chick"
version = "0.0"
description = "A real-time, synchronous junior.guru Discord bot"
authors = ["Honza Javorek <[email protected]>"]
license = "AGPL-3.0-only"
readme = "README.md"
homepage = "https://junior.guru/"
repository = "https://github.com/juniorguru/chick/"
packages = [{ include = "jg" }]
[tool.poetry.scripts]
chick = "jg.chick.main:main"
[tool.poetry.dependencies]
python = "~3.12"
py-cord = {version = "2.6.1", extras = ["speed"]}
aiohttp = "3.11.11"
"jg.hen" = { git = "https://github.com/juniorguru/hen.git" }
click = "8.1.8"
[tool.poetry.group.dev.dependencies]
pytest = "8.3.4"
pytest-asyncio = "0.25.1"
pytest-ruff = "0.4.1"
ruff = "0.8.*"
[tool.pytest.ini_options]
python_files = "test_*.py"
testpaths = "."
addopts = "--ff --ruff --ruff-format"
filterwarnings = [
"ignore:'audioop' is deprecated:DeprecationWarning", # py-cord
]
asyncio_default_fixture_loop_scope = "function"
[tool.ruff]
target-version = "py311"
[tool.ruff.lint]
extend-select = ["I"]
[tool.ruff.lint.isort]
combine-as-imports = true
lines-after-imports = 2
known-third-party = ["jg.hen"]
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"