-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (51 loc) · 1.16 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
[tool.poetry]
name = "monnt.py"
version = "0.5.0"
description = "An async RFC 3977 compliant Usenet server"
authors = ["Thomas Schmitt <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.7.1"
tortoise-orm = "^0.19.0"
# py-dtn7 = {path = "../py-dtn7", develop = true}
py-dtn7 = "0.2.1-alpha4"
toml = "^0.10.2"
pytimeparse2 = "^1.5.0"
websockets = "^10.3"
python-dateutil = "^2.8.2"
[tool.poetry.dev-dependencies]
flake8 = "^5.0.4"
black = "^22.3.0"
pre-commit = "^2.18.1"
isort = "^5.10.1"
# Settings for the moNNT.py NNTP server
# For, "env", following settings are possible:
# - "dev": development environment, this will load config.dev.toml
# - "prod": production environment, this will load config.prod.toml
[tool.poetry.group.dev.dependencies]
flameprof = "^0.4"
[monntpy]
env = "dev"
[tool.black]
include = '\.pyi?$'
line-length = 100
target-version = ["py37", "py38", "py39"]
preview = true
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.isort]
profile = 'black'
multi_line_output = 3
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"