forked from luftfartsverket/openapi-to-asciidoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
76 lines (58 loc) · 1.83 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
[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 SYSDEV", email = "[email protected]" }]
description = "A package used to convert OpenAPI 3.0 specifications to asciidoc"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 4 - Beta",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Operating System :: OS Independent",
]
dependencies = [
"jinja2 >= 3.1.2",
"jinja2-cli >= 0.8.2",
"marshmallow >= 3.19.0",
]
[project.scripts]
o2i = "openapi_to_asciidoc.convert:main"
openapi-to-asciidoc = "openapi_to_asciidoc.convert:main"
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "_version.py"
[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