blob: 61649c57e82571c025db35a5a85e5ed7e971016b (
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
60
61
62
63
64
|
[tool.poetry]
name = "bot-core"
version = "8.2.0"
description = "Bot-Core provides the core functionality and utilities for the bots of the Python Discord community."
authors = ["Python Discord <[email protected]>"]
license = "MIT"
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
packages = [
{ include = "botcore" },
]
exclude = ["tests", "tests.*"]
[tool.poetry.dependencies]
python = "3.10.*"
"discord.py" = "2.0.0"
async-rediscache = { version = "1.0.0rc2", extras = ["fakeredis"], optional = true }
statsd = "3.3.0"
aiodns = "3.0.0"
[tool.poetry.extras]
async-rediscache = ["async-rediscache"]
[tool.poetry.dev-dependencies]
flake8 = "5.0.4"
flake8-annotations = "2.9.1"
flake8-bugbear = "22.7.1"
flake8-docstrings = "1.6.0"
flake8-import-order = "0.18.1"
flake8-string-format = "0.3.0"
flake8-tidy-imports = "4.8.0"
flake8-todo = "0.7"
pep8-naming = "0.13.1"
pre-commit = "2.20.0"
taskipy = "1.10.2"
python-dotenv = "0.20.0"
pytest = "7.1.2"
pytest-cov = "3.0.0"
pytest-xdist = "2.5.0"
Sphinx = "5.1.1"
GitPython = "3.1.27"
sphinx-autodoc-typehints = "1.19.2"
furo = "2022.6.21"
releases = "1.6.3"
sphinx-multiversion = "0.2.4"
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
docs = "sphinx-build -nW -j auto -b html docs docs/build"
test = "pytest -n 8 --ff"
retest = "pytest -n 8 --lf"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
source_pkgs = ["botcore"]
source = ["tests"]
|