forked from greenbone/pontos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
95 lines (85 loc) · 2.4 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tool.poetry]
name = "pontos"
version = "22.9.7.dev1"
description = "Common utilities and tools maintained by Greenbone Networks"
authors = ["Greenbone Networks GmbH <[email protected]>"]
license = "GPL-3.0-or-later"
readme = "README.md"
homepage = "https://github.com/greenbone/pontos/"
repository = "https://github.com/greenbone/pontos/"
documentation = "https://greenbone.github.io/pontos/"
classifiers=[
# Full list: https://pypi.org/pypi?%3Aaction=list_classifiers
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", # pylint: disable=line-too-long
"Environment :: Console",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
]
packages = [
{ include = "pontos"},
{ include = "tests", format = "sdist" },
{ include = "poetry.lock", format = "sdist" },
{ include = "poetry.toml", format = "sdist" },
]
include = [
"pontos/updateheader/templates/",
"pontos/github/pr_template.md"
]
[tool.poetry.dependencies]
python = "^3.7"
colorful = "^0.5.4"
tomlkit = ">=0.5.11"
packaging = ">=20.3"
httpx = "^0.23.0"
rich = "^12.4.4"
[tool.poetry.dev-dependencies]
autohooks = ">=22.7.0"
autohooks-plugin-pylint = ">=21.6.0"
autohooks-plugin-black = ">=22.7.0"
autohooks-plugin-isort = ">=22.3.0"
rope = "^1.3.0"
coverage = "^6.5"
myst-parser = "^0.18.1"
Sphinx = "^5.3.0"
furo = "^2022.9.29"
[tool.black]
line-length = 80
target-version = ['py37', 'py38', 'py39', 'py310']
exclude = '''
/(
\.git
| \.hg
| \.venv
| \.circleci
| \.github
| \.vscode
| _build
| build
| dist
| docs
)/
'''
[tool.autohooks]
pre-commit = ['autohooks.plugins.black', 'autohooks.plugins.isort', 'autohooks.plugins.pylint']
mode = "poetry"
[tool.isort]
profile = "black"
line_length = 80
[tool.pontos.version]
version-module-file = "pontos/version/__version__.py"
[tool.poetry.scripts]
pontos = 'pontos:main'
pontos-version = 'pontos.version:main'
pontos-release = 'pontos.release:main'
pontos-update-header = 'pontos.updateheader:main'
pontos-changelog = 'pontos.changelog:main'
pontos-github = 'pontos.github:main'
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"