mirror of
https://github.com/TheNetworkGuy/netbox-zabbix-sync.git
synced 2025-07-16 12:12:57 -06:00
corrected linting errors
This commit is contained in:
parent
2a3d586302
commit
906c719863
@ -11,6 +11,7 @@ class Hostgroup:
|
|||||||
Takes type (vm or dev) and NB object"""
|
Takes type (vm or dev) and NB object"""
|
||||||
|
|
||||||
# pylint: disable=too-many-arguments, disable=too-many-positional-arguments
|
# pylint: disable=too-many-arguments, disable=too-many-positional-arguments
|
||||||
|
# pylint: disable=logging-fstring-interpolation
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
obj_type,
|
obj_type,
|
||||||
@ -93,7 +94,8 @@ class Hostgroup:
|
|||||||
format_options["cluster"] = self.nb.cluster.name
|
format_options["cluster"] = self.nb.cluster.name
|
||||||
format_options["cluster_type"] = self.nb.cluster.type.name
|
format_options["cluster_type"] = self.nb.cluster.type.name
|
||||||
self.format_options = format_options
|
self.format_options = format_options
|
||||||
self.logger.debug(f"Host {self.name}: Resolved properties for use in hostgroups: {self.format_options}")
|
self.logger.debug(f"Host {self.name}: Resolved properties for use "
|
||||||
|
f"in hostgroups: {self.format_options}")
|
||||||
|
|
||||||
def set_nesting(
|
def set_nesting(
|
||||||
self, nested_sitegroup_flag, nested_region_flag, nb_groups, nb_regions
|
self, nested_sitegroup_flag, nested_region_flag, nb_groups, nb_regions
|
||||||
|
Loading…
Reference in New Issue
Block a user