-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
66 lines (49 loc) · 1.45 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
[build-system]
requires = ["hatchling", "hatch-vcs", "build", "twine"]
build-backend = "hatchling.build"
[tool.pytest.ini_options]
addopts = ["-s", "--import-mode=importlib"]
pythonpath = [".", "src", "tests"]
testpaths = ["tests/unit"]
[project]
name = "openapi-to-asciidoc"
dynamic = ["version"]
authors = [{ name = "LFV", email = "[email protected]" }]
description = "A tool used to convert OpenAPI 3.1 specifications to AsciiDoc"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
]
dependencies = [
"jinja2 >= 3.1.2",
"jinja2-cli >= 0.8.2",
"marshmallow >= 3.19.0",
]
[project.scripts]
o2a = "openapi_to_asciidoc.convert:main"
openapi-to-asciidoc = "openapi_to_asciidoc.convert:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.envs.test]
dependencies = ["pytest", "pytest-sugar", "pytest-cov"]
[tool.hatch.envs.lint]
detached = true
dependencies = ["black", "flake8", "flake8-pyproject"]
[tool.black]
line-length = 120
target-version = ["py310"]
[tool.flake8]
ignore = ["W503"]
max-line-length = 120
# exclude = tests/*
max-complexity = 10