mirror of
https://github.com/thegeeklab/prometheus-pve-sd.git
synced 2024-11-23 01:40:40 +00:00
95 lines
2.6 KiB
TOML
95 lines
2.6 KiB
TOML
[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",
|
|
"Programming Language :: Python :: 3.10",
|
|
"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/"
|
|
include = ["LICENSE"]
|
|
keywords = ["prometheus", "sd", "pve", "metrics"]
|
|
license = "MIT"
|
|
name = "prometheus-pve-sd"
|
|
packages = [{ include = "prometheuspvesd" }]
|
|
readme = "README.md"
|
|
repository = "https://github.com/thegeeklab/prometheus-pve-sd/"
|
|
version = "0.0.0"
|
|
|
|
[tool.poetry.dependencies]
|
|
anyconfig = "0.13.0"
|
|
appdirs = "1.4.4"
|
|
colorama = "0.4.5"
|
|
environs = "9.5.0"
|
|
jsonschema = "4.16.0"
|
|
nested-lookup = "0.2.25"
|
|
prometheus-client = "0.14.1"
|
|
proxmoxer = "1.3.1"
|
|
python = "^3.7.0"
|
|
python-json-logger = "2.0.4"
|
|
requests = "2.28.1"
|
|
"ruamel.yaml" = "0.17.21"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
bandit = "1.7.4"
|
|
flake8 = "5.0.4"
|
|
flake8-blind-except = "0.2.1"
|
|
flake8-builtins = "1.5.3"
|
|
flake8-docstrings = "1.6.0"
|
|
flake8-eradicate = "1.3.0"
|
|
flake8-isort = "4.2.0"
|
|
flake8-logging-format = "0.7.5"
|
|
flake8-pep3101 = "1.3.0"
|
|
flake8-polyfill = "1.0.2"
|
|
flake8-quotes = "3.3.1"
|
|
pep8-naming = "0.13.2"
|
|
pydocstyle = "6.1.1"
|
|
pytest = "7.1.3"
|
|
pytest-cov = "3.0.0"
|
|
pytest-mock = "3.8.2"
|
|
yapf = "0.32.0"
|
|
toml = "0.10.2"
|
|
|
|
[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 --no-cov-on-fail"
|
|
filterwarnings = [
|
|
"ignore::FutureWarning",
|
|
"ignore:.*distutils.*:DeprecationWarning",
|
|
"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"]
|