Skip to content

Commit

Permalink
config-attribute cleanup - lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Dec 8, 2024
1 parent 9a69e8d commit c20f2fd
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugins/module_utils/main/_tmpl.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from ansible.module_utils.basic import AnsibleModule

from ansible_collections.ansibleguy.opnsense.plugins.module_utils.base.handler import \
ModuleSoftError
from ansible_collections.ansibleguy.opnsense.plugins.module_utils.base.api import \
Session
from ansible_collections.ansibleguy.opnsense.plugins.module_utils.helper.main import \
Expand Down
1 change: 1 addition & 0 deletions plugins/module_utils/main/shaper_pipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def check(self) -> None:

def reload(self) -> None:
if self.p['reset']:
# pylint: disable=W0201
self.API_CMD_REL = 'flushreload'

self.b.reload()
1 change: 1 addition & 0 deletions plugins/module_utils/main/shaper_queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def get_existing(self) -> list:

def reload(self) -> None:
if self.p['reset']:
# pylint: disable=W0201
self.API_CMD_REL = 'flushreload'

self.b.reload()
1 change: 1 addition & 0 deletions plugins/module_utils/main/shaper_rule.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ def get_existing(self) -> list:

def reload(self) -> None:
if self.p['reset']:
# pylint: disable=W0201
self.API_CMD_REL = 'flushreload'

self.b.reload()

0 comments on commit c20f2fd

Please sign in to comment.