-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpyproject.toml
72 lines (63 loc) · 1.89 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
[tool.poetry]
name = "wg-wizard"
version = "0.0.0.dev" # the version will be updated automatically in the pipelines
description = "Control all the WireGuard server and client configs in a centralized way."
authors = ["Ian Lin <[email protected]>"]
license = "MIT"
readme = "README.rst"
repository = "https://github.com/ianlini/wg-wizard"
homepage = "https://github.com/ianlini/wg-wizard"
packages = [{include = "wg_wizard", from = "src"}]
classifiers = [
"Topic :: Utilities",
"Topic :: Security",
]
[tool.poetry.dependencies]
python = "^3.10"
click = "^8.1.3"
"ruamel.yaml" = "^0.17.21"
pydantic = "^2.0.0"
qrcode = "^7.3.1"
[tool.poetry.group.linter.dependencies]
flake8 = "^5.0.4"
pep8-naming = "^0.13.2"
flake8-import-order = "^0.18.1"
flake8-bugbear = "^22.8.23"
flake8-comprehensions = "^3.10.0"
flake8-docstrings = "^1.6.0"
flake8-logging-format = "^0.8.1"
flake8-return = "^1.1.3"
flake8-black = "^0.3.3"
[tool.poetry.group.dev.dependencies]
black = "^22.8.0"
ipdb = "^0.13.9"
ipython = "^8.5.0"
esbonio = "^0.14.0"
doc8 = "^1.0.0"
[tool.poetry.group.test.dependencies]
pytest = "^7.1.3"
pytest-cov = "^4.0.0"
tox = "^3.26.0"
[tool.poetry.scripts]
wg-wizard = 'wg_wizard.cli:main'
[tool.pytest.ini_options]
log_format = "[%(asctime)s][%(levelname)s] %(name)s %(module)s %(lineno)d: %(message)s"
log_level = "INFO"
log_cli = true
log_cli_level = "WARNING"
log_file = "artifacts/pytest.log"
log_file_format = "[%(asctime)s][%(levelname)s] %(name)s %(module)s %(lineno)d: %(message)s"
log_file_date_format = "%Y-%m-%d %H:%M:%S"
log_file_level = "INFO"
testpaths = ["tests"]
[tool.coverage]
run.branch = true
run.source = ["wg_wizard"]
paths.source = ["src/wg_wizard", ".tox/py*/lib/python*/site-packages/wg_wizard"]
html.directory = "artifacts/htmlcov"
xml.output = "artifacts/coverage.xml"
[tool.black]
target-version = ['py310']
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"