2020-12-28 15:21:51 +00:00
|
|
|
[tool.poetry]
|
|
|
|
authors = ["Robert Kaussow <mail@thegeeklab.de>"]
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 5 - Production/Stable",
|
|
|
|
"Environment :: Console",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"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.6",
|
|
|
|
"Programming Language :: Python :: 3.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Topic :: Utilities",
|
|
|
|
"Topic :: Software Development",
|
|
|
|
]
|
|
|
|
description = "Reviews ansible playbooks, roles and inventories and suggests improvements."
|
|
|
|
documentation = "https://ansible-later.geekdocs.de/"
|
|
|
|
homepage = "https://ansible-later.geekdocs.de/"
|
|
|
|
include = [
|
|
|
|
"LICENSE",
|
|
|
|
]
|
|
|
|
keywords = ["ansible", "code", "review"]
|
|
|
|
license = "MIT"
|
|
|
|
name = "ansible-later"
|
|
|
|
packages = [
|
|
|
|
{include = "ansiblelater"},
|
|
|
|
]
|
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/thegeeklab/ansible-later/"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
|
|
|
PyYAML = "^5.3.1"
|
2021-02-20 12:27:27 +00:00
|
|
|
ansible = {version = "^3.0.0", optional = true}
|
2020-12-28 17:05:00 +00:00
|
|
|
ansible-base = {version = "^2.10.4", optional = true}
|
2021-01-04 14:48:34 +00:00
|
|
|
anyconfig = "^0.10.0"
|
2020-12-28 15:21:51 +00:00
|
|
|
appdirs = "^1.4.4"
|
|
|
|
colorama = "^0.4.4"
|
|
|
|
flake8 = "^3.8.4"
|
|
|
|
jsonschema = "^3.2.0"
|
|
|
|
nested-lookup = "^0.2.21"
|
|
|
|
pathspec = "^0.8.1"
|
|
|
|
python = "^3.6.0"
|
|
|
|
python-json-logger = "^2.0.1"
|
|
|
|
six = "^1.15.0"
|
|
|
|
toolz = "^0.11.1"
|
|
|
|
unidiff = "^0.6.0"
|
|
|
|
yamllint = "^1.25.0"
|
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
|
|
bandit = "^1.7.0"
|
|
|
|
flake8 = "^3.8.4"
|
2021-01-09 12:42:48 +00:00
|
|
|
flake8-blind-except = "^0.2.0"
|
2020-12-28 15:21:51 +00:00
|
|
|
flake8-builtins = "^1.5.3"
|
|
|
|
flake8-colors = "^0.1.9"
|
|
|
|
flake8-docstrings = "^1.5.0"
|
|
|
|
flake8-eradicate = "^1.0.0"
|
|
|
|
flake8-isort = "^4.0.0"
|
|
|
|
flake8-logging-format = "^0.6.0"
|
|
|
|
flake8-pep3101 = "^1.3.0"
|
|
|
|
flake8-polyfill = "^1.0.2"
|
|
|
|
flake8-quotes = "^3.2.0"
|
|
|
|
pep8-naming = "^0.11.1"
|
2021-03-20 15:01:24 +00:00
|
|
|
pydocstyle = "^6.0.0"
|
2020-12-28 15:21:51 +00:00
|
|
|
pytest = "^6.2.1"
|
|
|
|
pytest-cov = "^2.10.1"
|
|
|
|
pytest-mock = "^3.4.0"
|
2021-03-13 02:31:28 +00:00
|
|
|
yapf = "^0.31.0"
|
2020-12-28 15:21:51 +00:00
|
|
|
|
2020-12-28 17:05:00 +00:00
|
|
|
[tool.poetry.extras]
|
|
|
|
ansible = ["ansible"]
|
|
|
|
ansible-base = ["ansible-base"]
|
|
|
|
|
2020-12-28 15:21:51 +00:00
|
|
|
[tool.poetry.scripts]
|
|
|
|
ansible-later = "ansiblelater.__main__:main"
|
|
|
|
|
|
|
|
[tool.poetry-dynamic-versioning]
|
|
|
|
enable = true
|
|
|
|
style = "semver"
|
|
|
|
vcs = "git"
|
|
|
|
|
|
|
|
[tool.isort]
|
|
|
|
default_section = "THIRDPARTY"
|
|
|
|
force_single_line = true
|
|
|
|
line_length = 99
|
|
|
|
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
|
2021-01-03 20:43:56 +00:00
|
|
|
skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*"]
|
2020-12-28 15:21:51 +00:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
2021-01-01 15:28:55 +00:00
|
|
|
addopts = "ansiblelater --cov=ansiblelater --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail"
|
2020-12-28 15:21:51 +00:00
|
|
|
filterwarnings = [
|
|
|
|
"ignore::FutureWarning",
|
|
|
|
"ignore:.*collections.*:DeprecationWarning",
|
|
|
|
"ignore:.*pep8.*:FutureWarning",
|
|
|
|
]
|
|
|
|
|
|
|
|
[tool.coverage.run]
|
|
|
|
omit = ["**/test/*"]
|
|
|
|
|
|
|
|
[build-system]
|
|
|
|
build-backend = "poetry.core.masonry.api"
|
|
|
|
requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning"]
|