-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
pyproject.toml
84 lines (74 loc) · 1.61 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
[tool.poetry]
name = "harambot"
version = "0.4.4"
description = "A Yahoo Fantasy Sports bot for Discord"
authors = ["DMcP89 <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "http://harambot.io"
repository = "https://github.com/DMcP89/harambot"
keywords = [
"yahoo",
"yahoo fantasy sports",
"fantasy football",
"fantasy basketball",
"fantasy baseball",
"fantasy hockey",
"discord",
"bot"
]
include = [
"LICENSE.md",
"assests"
]
packages = [
{include = "harambot"},
]
[tool.poetry.dependencies]
python = "^3.8"
"discord.py" = "^2.3.2"
dynaconf = "^3.1.11"
peewee = "^3.15.4"
cachetools = "^5.2.0"
psycopg2 = "^2.9.5"
mysqlclient = "^2.1.1"
yahoo-oauth = "^2.0"
cryptography = ">=42.0.5,<44.0.0"
yahoo-fantasy-api = ">=2.9.1"
[tool.poetry.group.dev.dependencies]
pytest = "^7.2.0"
pytest-cov = "^4.0.0"
pre-commit = "^2.20.0"
flake8 = "^5.0.4"
black = ">=22.10,<25.0"
jedi = "^0.19.1"
[tool.poetry.scripts]
harambot = "harambot.bot:run"
harambot_reports = "harambot.services.reports:report_service"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.pytest.ini_options]
testpaths =["tests"]
[tool.black]
line-length = 79
target-version = ['py38']
include = '\.pyi?$'
exclude = '''
(
/(
\.eggs # exclude a few common directories in the
| \.git # root of the project
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
| foo.py # also separately exclude a file named foo.py in
# the root of the project
)
'''