aboutsummaryrefslogtreecommitdiffstats
path: root/pyproject.toml
blob: c0a5786270115712c0df2e27201a0fc2d2b2cf93 (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 = "0.1.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" = "^1.7.2"

[tool.poetry.dev-dependencies]
flake8 = "~=3.8"
flake8-annotations = "~=2.3"
flake8-bugbear = "~=20.1"
flake8-docstrings = "~=1.5"
flake8-import-order = "~=0.18"
flake8-string-format = "~=0.3"
flake8-tidy-imports = "~=4.1"
flake8-todo = "~=0.7"
pep8-naming = "~=0.11"
pre-commit = "~=2.1"
taskipy = "^1.6.0"
python-dotenv = "^0.18.0"
pytest = "~=6.2.4"
pytest-cov = "~=2.12.1"
pytest-xdist = { version = "~=2.3.0", extras = ["psutil"] }
Sphinx = "^4.3.1"
tomli = "^1.2.2"
GitPython = "^3.1.24"
sphinx-autodoc-typehints = "^1.12.0"
releases = "^1.6.3"
furo = "^2021.11.23"


[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"]