Skip to content

Commit

Permalink
Fix for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
stuwilkins committed Feb 9, 2025
1 parent f2237f7 commit 8696b00
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions plugins/filter/nsls2network.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def find(searchnet):


class FilterModule(object):

def filters(self):
return {
"nsls2network_find": self.find,
Expand Down
5 changes: 4 additions & 1 deletion plugins/modules/github_vars_facts.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#!/usr/bin/python
from __future__ import absolute_import, division, print_function

import base64
import json
import os.path
import re

import requests
import yaml
from __future__ import absolute_import, division, print_function
from ansible.module_utils.basic import AnsibleModule

__metaclass__ = type
Expand Down Expand Up @@ -88,6 +90,7 @@


class GitHubFileReader:

def __init__(self, owner, repo, token=None):
self._owner = owner
self._repo = repo
Expand Down
1 change: 1 addition & 0 deletions plugins/vars/nsls2network.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

class VarsModule(BaseVarsPlugin):
"""NSLS2Network Ansible vars module"""

def get_vars(self, loader, path, entities, cache=True):
"""Parses the inventory file"""

Expand Down

0 comments on commit 8696b00

Please sign in to comment.