2021-06-09 18:44:10 +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.7",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
2021-10-07 07:53:19 +00:00
|
|
|
"Programming Language :: Python :: 3.10",
|
2021-06-09 18:44:10 +00:00
|
|
|
"Topic :: Utilities",
|
|
|
|
]
|
|
|
|
description = "Prometheus Service Discovery for Proxmox VE."
|
|
|
|
documentation = "https://github.com/thegeeklab/prometheus-pve-sd/"
|
|
|
|
homepage = "https://github.com/thegeeklab/prometheus-pve-sd/"
|
2022-02-26 15:45:02 +00:00
|
|
|
include = ["LICENSE"]
|
2021-06-09 18:44:10 +00:00
|
|
|
keywords = ["prometheus", "sd", "pve", "metrics"]
|
|
|
|
license = "MIT"
|
|
|
|
name = "prometheus-pve-sd"
|
2022-02-26 15:45:02 +00:00
|
|
|
packages = [{ include = "prometheuspvesd" }]
|
2021-06-09 18:44:10 +00:00
|
|
|
readme = "README.md"
|
|
|
|
repository = "https://github.com/thegeeklab/prometheus-pve-sd/"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
|
|
|
[tool.poetry.dependencies]
|
2021-09-20 07:53:08 +00:00
|
|
|
anyconfig = "0.12.0"
|
2021-06-09 18:44:10 +00:00
|
|
|
appdirs = "1.4.4"
|
|
|
|
colorama = "0.4.4"
|
2022-02-01 08:17:31 +00:00
|
|
|
environs = "9.5.0"
|
2022-01-21 20:27:17 +00:00
|
|
|
jsonschema = "4.4.0"
|
2021-11-10 07:43:15 +00:00
|
|
|
nested-lookup = "0.2.23"
|
2022-01-29 12:31:30 +00:00
|
|
|
prometheus-client = "0.13.1"
|
2021-10-09 10:42:35 +00:00
|
|
|
proxmoxer = "1.2.0"
|
2021-10-03 14:10:41 +00:00
|
|
|
python = "^3.7.0"
|
2021-07-29 08:09:54 +00:00
|
|
|
python-json-logger = "2.0.2"
|
2022-01-07 15:20:06 +00:00
|
|
|
requests = "2.27.1"
|
2022-02-14 20:33:19 +00:00
|
|
|
"ruamel.yaml" = "0.17.21"
|
2021-06-09 18:44:10 +00:00
|
|
|
|
|
|
|
[tool.poetry.dev-dependencies]
|
2022-01-26 02:47:18 +00:00
|
|
|
bandit = "1.7.2"
|
2021-10-20 15:02:50 +00:00
|
|
|
flake8 = "4.0.1"
|
2021-06-09 18:44:10 +00:00
|
|
|
flake8-blind-except = "0.2.0"
|
|
|
|
flake8-builtins = "1.5.3"
|
|
|
|
flake8-docstrings = "1.6.0"
|
2021-10-20 05:28:17 +00:00
|
|
|
flake8-eradicate = "1.2.0"
|
2021-10-14 13:00:37 +00:00
|
|
|
flake8-isort = "4.1.1"
|
2021-06-09 18:44:10 +00:00
|
|
|
flake8-logging-format = "0.6.0"
|
|
|
|
flake8-pep3101 = "1.3.0"
|
|
|
|
flake8-polyfill = "1.0.2"
|
2021-10-20 05:28:17 +00:00
|
|
|
flake8-quotes = "3.3.1"
|
2021-08-08 04:18:20 +00:00
|
|
|
pep8-naming = "0.12.1"
|
2021-06-09 18:44:10 +00:00
|
|
|
pydocstyle = "6.1.1"
|
2022-02-14 01:19:44 +00:00
|
|
|
pytest = "7.0.1"
|
2021-10-04 17:25:06 +00:00
|
|
|
pytest-cov = "3.0.0"
|
2022-01-28 12:33:11 +00:00
|
|
|
pytest-mock = "3.7.0"
|
2021-12-26 08:53:42 +00:00
|
|
|
yapf = "0.32.0"
|
2022-02-05 14:01:50 +00:00
|
|
|
toml = "0.10.2"
|
2021-06-09 18:44:10 +00:00
|
|
|
|
|
|
|
[tool.poetry.scripts]
|
|
|
|
prometheus-pve-sd = "prometheuspvesd.cli: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"]
|
|
|
|
skip_glob = ["**/.env*", "**/env/*", "**/.venv/*", "**/docs/*"]
|
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = "prometheuspvesd --cov=prometheuspvesd --cov-report=xml:coverage.xml --cov-report=term --cov-append --no-cov-on-fail"
|
|
|
|
filterwarnings = [
|
|
|
|
"ignore::FutureWarning",
|
2022-02-26 15:45:02 +00:00
|
|
|
"ignore:.*distutils.*:DeprecationWarning",
|
2021-06-09 18:44:10 +00:00
|
|
|
"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"]
|