-
Notifications
You must be signed in to change notification settings - Fork 9
/
pyproject.toml
82 lines (72 loc) · 1.9 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
[tool.poetry]
name = "pheme"
version = "21.10.1.dev1"
authors = ["Greenbone AG <[email protected]>"]
license = "AGPL-3.0-or-later"
readme = "README.md"
description = "report-generation-service"
classifiers = [
# Full list: https://pypi.org/pypi?%3Aaction=list_classifiers
"Development Status :: 4 - Beta",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)", # pylint: disable=line-too-long
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
]
[tool.poetry.dependencies]
python = "^3.9"
django = "=4.2.16"
xmltodict = ">=0.12,<0.15"
pyyaml = ">=5.3.1,<7.0.0"
uritemplate = ">=3.0.1,<5.0.0"
djangorestframework = "=3.15.2"
coreapi = "^2.3.3"
weasyprint = ">=62"
rope = ">=0.17,<1.14"
sentry-sdk = { version = ">=1.1,<3.0", optional = true }
[tool.poetry.dev-dependencies]
pylint = ">=2.13.9"
pylint-django = ">=2.5.3"
pytest = ">=7.4.0"
pytest-cov = ">=4.0.0"
pytest-django = ">=3.9"
pytest-env = ">=0.8.1"
autohooks = ">=23.1.0"
autohooks-plugin-ruff = ">=24.1.0"
autohooks-plugin-black = ">=22.11.0"
rope = ">=0.17,<1.14"
pontos = ">=21.6.3"
[tool.poetry.extras]
tracking = ["sentry-sdk"]
[tool.black]
line-length = 80
target-version = ['py39', 'py310', 'py311']
exclude = '''
/(
\.git
| \.venv
| \.github
| \.vscode
| _build
| build
| dist
| docs
)/
'''
[tool.autohooks]
pre-commit = ['autohooks.plugins.black', 'autohooks.plugins.ruff']
mode = "poetry"
[tool.ruff]
line-length = 80
target-version = "py39"
[tool.ruff.lint]
extend-select = ["I", "PLE", "PLW"]
[tool.pontos.version]
version-module-file = "pheme/version/__version__.py"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"