-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
40 lines (34 loc) · 961 Bytes
/
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
[tool.poetry]
name = "sevenbot-v2"
version = "1.0.0"
description = ""
authors = ["sevenc-nanashi <sevenc-nanashi@sevenbot.jp>"]
[tool.poetry.dependencies]
python = "^3.9"
"discord.py" = { git = "https://github.com/Rapptz/discord.py.git", rev = "eee65ac3" }
GitPython = "^3.1.27"
colorama = "^0.4.4"
python-dotenv = "^0.20.0"
PyYAML = "^6.0"
motor = "^3.0.0"
[tool.poetry.dev-dependencies]
black = "^22.3.0"
pyproject-flake8 = "^0.0.1-alpha.4"
isort = "^5.10.1"
poethepoet = "^0.13.1"
[tool.black]
line-length = 120
[tool.flake8]
ignore="E203,W503"
max-line-length = 120
extend-exclude = ".venv"
[tool.poe.tasks]
lint = { sequence = ["lint:flake8", "lint:isort"] }
"lint:flake8" = "poetry run pflake8 ."
"lint:isort" = "isort -c ."
format = { sequence = ["format:black", "format:isort"] }
"format:black" = "poetry run black ."
"format:isort" = "poetry run isort ."
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"