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]
|
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-09-19 07:07:19 +00:00
|
|
|
jsonschema = "4.16.0"
|
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-05-20 13:50:51 +00:00
|
|
|
proxmoxer = "1.3.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"
|
2022-06-29 19:04:55 +00:00
|
|
|
requests = "2.28.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-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-10-09 14:31:01 +00:00
|
|
|
flake8-builtins = "2.0.0"
|
2021-06-09 18:44:10 +00:00
|
|
|
flake8-docstrings = "1.6.0"
|
2022-09-26 01:47:10 +00:00
|
|
|
flake8-eradicate = "1.4.0"
|
2022-10-09 09:35:10 +00:00
|
|
|
flake8-isort = "5.0.0"
|
2022-10-03 01:24:12 +00:00
|
|
|
flake8-logging-format = "0.8.1"
|
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"
|
2021-10-20 05:28:17 +00:00
|
|
|
flake8-quotes = "3.3.1"
|
2022-08-21 22:08:36 +00:00
|
|
|
pep8-naming = "0.13.2"
|
2021-06-09 18:44:10 +00:00
|
|
|
pydocstyle = "6.1.1"
|
2022-10-31 01:22:56 +00:00
|
|
|
pytest = "7.2.0"
|
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"]
|