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",
|
2022-11-24 20:35:49 +00:00
|
|
|
"Programming Language :: Python :: 3.11",
|
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]
|
2022-04-04 07:05:23 +00:00
|
|
|
anyconfig = "0.13.0"
|
2021-06-09 18:44:10 +00:00
|
|
|
appdirs = "1.4.4"
|
2022-10-25 19:30:28 +00:00
|
|
|
colorama = "0.4.6"
|
2022-02-01 08:17:31 +00:00
|
|
|
environs = "9.5.0"
|
2022-12-04 17:21:02 +00:00
|
|
|
jsonschema = "4.17.3"
|
2022-07-11 06:48:27 +00:00
|
|
|
nested-lookup = "0.2.25"
|
2022-10-13 19:18:35 +00:00
|
|
|
prometheus-client = "0.15.0"
|
2022-12-20 19:40:10 +00:00
|
|
|
proxmoxer = "2.0.1"
|
2021-10-03 14:10:41 +00:00
|
|
|
python = "^3.7.0"
|
2022-07-13 08:31:39 +00:00
|
|
|
python-json-logger = "2.0.4"
|
2023-01-16 08:33:39 +00:00
|
|
|
requests = "2.28.2"
|
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-03-07 01:38:25 +00:00
|
|
|
bandit = "1.7.4"
|
2022-08-22 06:40:09 +00:00
|
|
|
flake8 = "5.0.4"
|
2022-03-21 02:07:49 +00:00
|
|
|
flake8-blind-except = "0.2.1"
|
2022-12-26 02:03:10 +00:00
|
|
|
flake8-builtins = "2.1.0"
|
2023-01-30 02:00:24 +00:00
|
|
|
flake8-docstrings = "1.7.0"
|
2022-09-26 01:47:10 +00:00
|
|
|
flake8-eradicate = "1.4.0"
|
2023-01-03 13:15:25 +00:00
|
|
|
flake8-isort = "6.0.0"
|
2022-11-28 02:40:28 +00:00
|
|
|
flake8-logging-format = "0.9.0"
|
2022-10-09 11:41:49 +00:00
|
|
|
flake8-pep3101 = "2.0.0"
|
2021-06-09 18:44:10 +00:00
|
|
|
flake8-polyfill = "1.0.2"
|
2022-12-26 02:03:10 +00:00
|
|
|
flake8-quotes = "3.3.2"
|
|
|
|
pep8-naming = "0.13.3"
|
2023-01-23 01:41:30 +00:00
|
|
|
pydocstyle = "6.3.0"
|
2023-01-16 02:45:49 +00:00
|
|
|
pytest = "7.2.1"
|
2022-09-29 06:54:17 +00:00
|
|
|
pytest-cov = "4.0.0"
|
2022-10-10 00:10:53 +00:00
|
|
|
pytest-mock = "3.10.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]
|
2022-03-06 12:48:40 +00:00
|
|
|
addopts = "prometheuspvesd --cov=prometheuspvesd --cov-report=xml:coverage.xml --cov-report=term --no-cov-on-fail"
|
2021-06-09 18:44:10 +00:00
|
|
|
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"]
|