2020-12-31 13:16:00 +00:00
|
|
|
[tool.poetry]
|
|
|
|
authors = ["Robert Kaussow <mail@thegeeklab.de>"]
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Environment :: Console",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"Intended Audience :: Information Technology",
|
|
|
|
"Intended Audience :: System Administrators",
|
|
|
|
"Natural Language :: English",
|
|
|
|
"Operating System :: POSIX",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
2021-10-07 07:52:45 +00:00
|
|
|
"Programming Language :: Python :: 3.10",
|
2022-11-24 20:35:31 +00:00
|
|
|
"Programming Language :: Python :: 3.11",
|
2023-10-16 12:15:21 +00:00
|
|
|
"Programming Language :: Python :: 3.12",
|
2020-12-31 13:16:00 +00:00
|
|
|
"Topic :: Utilities",
|
|
|
|
"Topic :: Software Development",
|
|
|
|
"Topic :: Software Development :: Documentation",
|
|
|
|
]
|
|
|
|
description = "Generate documentation from annotated Ansible roles using templates."
|
|
|
|
documentation = "https://ansible-doctor.geekdocs.de/"
|
|
|
|
homepage = "https://ansible-doctor.geekdocs.de/"
|
2024-02-06 08:34:17 +00:00
|
|
|
include = ["LICENSE"]
|
2021-01-01 13:51:16 +00:00
|
|
|
keywords = ["ansible", "role", "documentation"]
|
2020-12-31 13:16:00 +00:00
|
|
|
license = "GPL-3.0-only"
|
|
|
|
name = "ansible-doctor"
|
2024-02-06 08:34:17 +00:00
|
|
|
packages = [{ include = "ansibledoctor" }]
|
2020-12-31 13:16:00 +00:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/thegeeklab/ansible-doctor/"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2024-05-06 19:29:22 +00:00
|
|
|
Jinja2 = "3.1.4"
|
2024-01-15 20:56:46 +00:00
|
|
|
anyconfig = "0.14.0"
|
2021-05-10 20:05:15 +00:00
|
|
|
appdirs = "1.4.4"
|
2022-10-25 19:27:06 +00:00
|
|
|
colorama = "0.4.6"
|
2023-12-12 07:55:06 +00:00
|
|
|
pathspec = "0.12.1"
|
2024-01-10 08:07:45 +00:00
|
|
|
python = "^3.9.0"
|
2024-02-07 21:36:59 +00:00
|
|
|
"ruamel.yaml" = "0.18.6"
|
2024-07-22 08:09:42 +00:00
|
|
|
dynaconf = "3.2.6"
|
2024-06-12 18:59:55 +00:00
|
|
|
gitpython = "3.1.43"
|
2024-05-24 07:44:19 +00:00
|
|
|
ansible-core = { version = "2.14.17", optional = true }
|
2024-07-18 08:27:23 +00:00
|
|
|
structlog = "24.4.0"
|
2024-01-10 07:32:57 +00:00
|
|
|
|
|
|
|
[tool.poetry.extras]
|
|
|
|
ansible-core = ["ansible-core"]
|
2020-12-31 13:16:00 +00:00
|
|
|
|
2023-01-20 10:56:12 +00:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
ansible-doctor = "ansibledoctor.cli:main"
|
|
|
|
|
|
|
|
[tool.poetry.group.dev.dependencies]
|
2024-10-21 01:44:35 +00:00
|
|
|
ruff = "0.7.0"
|
2024-09-16 00:21:27 +00:00
|
|
|
pytest = "8.3.3"
|
2024-03-25 00:25:57 +00:00
|
|
|
pytest-mock = "3.14.0"
|
2024-03-25 07:34:20 +00:00
|
|
|
pytest-cov = "5.0.0"
|
2022-02-05 14:01:30 +00:00
|
|
|
toml = "0.10.2"
|
2024-06-02 07:00:07 +00:00
|
|
|
j2lint = "1.1.0"
|
|
|
|
|
2020-12-31 13:16:00 +00:00
|
|
|
|
|
|
|
[tool.poetry-dynamic-versioning]
|
|
|
|
enable = true
|
|
|
|
style = "semver"
|
|
|
|
vcs = "git"
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
2023-04-17 14:22:07 +00:00
|
|
|
addopts = "ansibledoctor --cov=ansibledoctor --cov-report=xml:coverage.xml --cov-report=term --no-cov-on-fail"
|
2020-12-31 13:16:00 +00:00
|
|
|
filterwarnings = [
|
|
|
|
"ignore::FutureWarning",
|
2023-02-10 08:02:31 +00:00
|
|
|
"ignore::DeprecationWarning",
|
2020-12-31 13:16:00 +00:00
|
|
|
"ignore:.*pep8.*:FutureWarning",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
omit = ["**/test/*"]
|
|
|
|
|
|
|
|
[build-system]
|
2023-08-24 22:09:52 +00:00
|
|
|
build-backend = "poetry_dynamic_versioning.backend"
|
2020-12-31 13:16:00 +00:00
|
|
|
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
|
2023-01-20 10:56:12 +00:00
|
|
|
|
|
|
|
[tool.ruff]
|
|
|
|
exclude = [
|
2024-02-06 08:34:17 +00:00
|
|
|
".git",
|
|
|
|
"__pycache__",
|
|
|
|
"build",
|
|
|
|
"dist",
|
|
|
|
"test",
|
|
|
|
"*.pyc",
|
|
|
|
"*.egg-info",
|
|
|
|
".cache",
|
|
|
|
".eggs",
|
|
|
|
"env*",
|
2023-01-20 10:56:12 +00:00
|
|
|
]
|
2023-11-10 13:50:50 +00:00
|
|
|
|
|
|
|
line-length = 99
|
|
|
|
indent-width = 4
|
|
|
|
|
2024-02-06 08:34:17 +00:00
|
|
|
[tool.ruff.lint]
|
2023-01-20 10:56:12 +00:00
|
|
|
# Explanation of errors
|
|
|
|
#
|
|
|
|
# D102: Missing docstring in public method
|
|
|
|
# D103: Missing docstring in public function
|
|
|
|
# D105: Missing docstring in magic method
|
|
|
|
# D107: Missing docstring in __init__
|
|
|
|
# D202: No blank lines allowed after function docstring
|
|
|
|
# D203: One blank line required before class docstring
|
2023-02-10 08:02:31 +00:00
|
|
|
# D212: Multi-line docstring summary should start at the first line
|
2023-01-20 10:56:12 +00:00
|
|
|
ignore = [
|
2024-02-06 08:34:17 +00:00
|
|
|
"D102",
|
|
|
|
"D103",
|
|
|
|
"D105",
|
|
|
|
"D107",
|
|
|
|
"D202",
|
|
|
|
"D203",
|
|
|
|
"D212",
|
|
|
|
"UP038",
|
|
|
|
"RUF012",
|
2023-01-20 10:56:12 +00:00
|
|
|
]
|
|
|
|
select = [
|
2024-02-06 08:34:17 +00:00
|
|
|
"D",
|
|
|
|
"E",
|
|
|
|
"F",
|
|
|
|
"Q",
|
|
|
|
"W",
|
|
|
|
"I",
|
|
|
|
"S",
|
|
|
|
"BLE",
|
|
|
|
"N",
|
|
|
|
"UP",
|
|
|
|
"B",
|
|
|
|
"A",
|
|
|
|
"C4",
|
|
|
|
"T20",
|
|
|
|
"SIM",
|
|
|
|
"RET",
|
|
|
|
"ARG",
|
|
|
|
"ERA",
|
|
|
|
"RUF",
|
2023-01-20 10:56:12 +00:00
|
|
|
]
|
|
|
|
|
2023-11-10 13:50:50 +00:00
|
|
|
[tool.ruff.format]
|
|
|
|
quote-style = "double"
|
|
|
|
indent-style = "space"
|
|
|
|
line-ending = "lf"
|