-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
41 lines (37 loc) · 1.01 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
[tool.poetry]
name = "nb2chan"
version = "0.1.1"
description = "nb2chan push service Nonebot2酱推送"
authors = ["ffreemt"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/ffreemt/nb2chan"
include = ["LICENSE"]
[tool.poetry.dependencies]
python = ">=3.7.3,<4.0"
# python = "^3.6.7"
logzero = "^1.7.0"
pendulum = "^2.1.2"
nonebot2 = "^2.0.0-alpha.16"
aiocqhttp = "^1.4.2"
nonebot-adapter-onebot = "^2.0.0-beta.1"
[tool.poe.executor]
type = "poetry"
[tool.poe.tasks]
test = "pytest tests"
build = "poetry build"
_publish = "poetry publish"
release = ["test", "build", "_publish"]
lint = { cmd = "pylint nb2chan" }
format = "black tests nb2chan"
tunnel = {cmd ="ssh -CN ip_or_hostname_defined_in_hosts -L 9091:127.0.0.1:9091"}
[tool.poetry.dev-dependencies]
pytest = "^5.2"
flake8 = "^3.9.2"
pep257 = "^0.7.0"
poethepoet = "^0.10.0"
pytest-asyncio = "^0.15.1"
pylint = "^2.12.2"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"