fix linting

This commit is contained in:
Robert Kaussow 2023-06-28 09:17:13 +02:00
parent aeb2440bc7
commit a149ef0acb
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
3 changed files with 3 additions and 2 deletions

View File

@ -20,7 +20,7 @@ cache_dir = AppDirs("prometheus-pve-sd").user_cache_dir
default_output_file = os.path.join(cache_dir, "pve.json")
class Config():
class Config:
"""
Create an object with all necessary settings.

View File

@ -20,7 +20,7 @@ PROPAGATION_TIME = Summary(
HOST_GAUGE = Gauge("pve_sd_hosts", "Number of hosts discovered by PVE SD")
class Discovery():
class Discovery:
"""Prometheus PVE Service Discovery."""
def __init__(self):

View File

@ -112,6 +112,7 @@ ignore = [
"D203",
"D212",
"UP038",
"RUF012",
]
line-length = 99
select = [