forked from python-discord/bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
85 lines (77 loc) · 2.19 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[tool.poetry]
name = "bot"
version = "1.0.0"
description = "The community bot for the Python Discord community."
authors = ["Python Discord <info@pythondiscord.com>"]
license = "MIT"
[tool.poetry.dependencies]
python = "3.9.*"
"discord.py" = {url = "https://github.com/Rapptz/discord.py/archive/5a06fa5f3e28d2b7191722e1a84c541560008aea.zip"}
# See https://bot-core.pythondiscord.com/ for docs.
bot-core = {url = "https://github.com/python-discord/bot-core/archive/refs/tags/v7.0.0.zip", extras = ["async-rediscache"]}
aiodns = "3.0.0"
aiohttp = "3.8.1"
aioredis = "1.3.1"
arrow = "1.2.2"
async-rediscache = { version = "0.2.0", extras = ["fakeredis"] }
beautifulsoup4 = "4.10.0"
colorama = { version = "0.4.4", markers = "sys_platform == 'win32'" }
coloredlogs = "15.0.1"
deepdiff = "5.7.0"
emoji = "1.7.0"
feedparser = "6.0.8"
rapidfuzz = "2.0.7"
lxml = "4.8.0"
markdownify = "0.10.3"
more_itertools = "8.12.0"
python-dateutil = "2.8.2"
python-frontmatter = "1.0.0"
pyyaml = "6.0"
regex = "2022.3.15"
sentry-sdk = "1.5.8"
statsd = "3.3.0"
tldextract = "3.2.0"
[tool.poetry.dev-dependencies]
coverage = "6.3.2"
flake8 = "4.0.1"
flake8-annotations = "2.8.0"
flake8-bugbear = "22.3.23"
flake8-docstrings = "1.6.0"
flake8-string-format = "0.3.0"
flake8-tidy-imports = "4.6.0"
flake8-todo = "0.7"
flake8-isort = "4.1.1"
pep8-naming = "0.12.1"
pre-commit = "2.17.0"
taskipy = "1.10.1"
pip-licenses = "3.5.3"
python-dotenv = "0.20.0"
pytest = "7.1.1"
pytest-cov = "3.0.0"
pytest-xdist = "2.5.0"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.taskipy.tasks]
start = "python -m bot"
lint = "pre-commit run --all-files"
precommit = "pre-commit install"
build = "docker build -t ghcr.io/python-discord/bot:latest -f Dockerfile ."
push = "docker push ghcr.io/python-discord/bot:latest"
test-nocov = "pytest -n auto"
test = "pytest -n auto --cov-report= --cov --ff"
retest = "pytest -n auto --cov-report= --cov --lf"
html = "coverage html"
report = "coverage report"
isort = "isort ."
[tool.coverage.run]
branch = true
source_pkgs = ["bot"]
source = ["tests"]
[tool.isort]
multi_line_output = 6
order_by_type = false
case_sensitive = true
combine_as_imports = true
line_length = 120
atomic = true