blob: acb8b5a1b39f91b5b596f90501c71c87f68b4897 (
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 = "bot-core"
version = "1.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.9.*"
"discord.py" = {url = "https://github.com/Rapptz/discord.py/archive/45d498c1b76deaf3b394d17ccf56112fa691d160.zip"}
[tool.poetry.dev-dependencies]
flake8 = "4.0.1"
flake8-annotations = "2.7.0"
flake8-bugbear = "21.11.29"
flake8-docstrings = "1.6.0"
flake8-import-order = "0.18.1"
flake8-string-format = "0.3.0"
flake8-tidy-imports = "4.5.0"
flake8-todo = "0.7"
pep8-naming = "0.12.1"
pre-commit = "2.16.0"
taskipy = "1.9.0"
python-dotenv = "0.19.2"
pytest = "6.2.5"
pytest-cov = "3.0.0"
pytest-xdist = { version = "2.5.0", extras = ["psutil"] }
Sphinx = "4.3.2"
tomli = "2.0.0"
GitPython = "3.1.25"
sphinx-autodoc-typehints = "1.14.1"
releases = "1.6.3"
furo = "2022.1.2"
[tool.taskipy.tasks]
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
apidoc = "sphinx-apidoc -o docs/output botcore -fe"
builddoc = "sphinx-build -nW -j auto -b html docs docs/build"
docs = "task apidoc && task builddoc"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.coverage.run]
branch = true
source_pkgs = ["botcore"]
source = ["tests"]
|