-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
54 lines (48 loc) · 1.39 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
[tool.poetry]
name = "starbot"
version = "0.1.0"
description = "An alternative Discord bot"
authors = ["Amber Bertucci <[email protected]>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/Akarys42/StarBot"
repository = "https://github.com/Akarys42/StarBot"
[tool.poetry.dependencies]
python = "^3.10.0"
disnake = "^2.9.1"
python-dotenv = "^0.19.2"
coloredlogs = "^15.0.1"
arrow = "^1.2.1"
SQLAlchemy = {extras = ["asyncio"], version = "^1.4.31"}
alembic = "^1.7.5"
asyncpg = "^0.25.0"
PyYAML = "^6.0"
aiohttp = "^3.8.1"
websockets = "^10.1"
dateutils = "^0.6.12"
[tool.poetry.dev-dependencies]
isort = "^5.10.1"
black = "^21.6b0"
flake8 = "^4.0.0"
flake8-annotations = "^2.6.2"
flake8-bugbear = "^22.1.11"
flake8-docstrings = "^1.6.0"
flake8-isort = "^4.1.1"
flake8-string-format = "^0.3.0"
flake8-todo = "^0.7"
pep8-naming = "^0.12.1"
pre-commit = "^2.13.0"
taskipy = "^1.8.1"
[tool.isort]
profile = "black"
line_length = 100
[tool.black]
line-length = 100
[tool.taskipy.tasks]
bot = { cmd = "python -m starbot", help = "Runs the main bot process"}
lint = { cmd = "pre-commit run --all-files", help = "Lints project files" }
precommit = { cmd = "pre-commit install", help = "Installs the pre-commit git hook" }
format = { cmd = "black --target-version py310 .", help = "Runs the black python formatter" }
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"