fix linting
This commit is contained in:
parent
aeb2440bc7
commit
a149ef0acb
|
@ -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.
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -112,6 +112,7 @@ ignore = [
|
|||
"D203",
|
||||
"D212",
|
||||
"UP038",
|
||||
"RUF012",
|
||||
]
|
||||
line-length = 99
|
||||
select = [
|
||||
|
|
Loading…
Reference in New Issue