Skip to content

Commit

Permalink
added another two linting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rebekahrudd committed Dec 5, 2024
1 parent 39c2fc8 commit 8efcc71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions gator/checkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,7 @@ def load_check(checker_source, check_file):
"""Load the specified check from the source."""
if is_internal_check(check_file):
return importlib.import_module(checks.__name__ + "." + check_file)
else:
return checker_source.load_plugin(check_file)
return checker_source.load_plugin(check_file)


def get_source(checker_paths=[]):
Expand Down
2 changes: 1 addition & 1 deletion gator/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def decompose_result(result_dictionary):
def reset():
"""Reset the global result dictionary."""
# pylint: disable=global-statement
global result
# global result
result = None


Expand Down

0 comments on commit 8efcc71

Please sign in to comment.