Skip to content

Commit

Permalink
pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 5, 2024
1 parent 7a1e595 commit 1ac8b82
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .pylint_dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ unittest

# Our "special" words
dirs
iobuf
xyz

# Python bits
env

# Misc
4 changes: 2 additions & 2 deletions spinnaker_testbase/base_test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def get_provenance_files(self) -> List[str]:

def get_system_iobuf_files(self) -> List[str]:
"""
Get a list of the system iobug files.
Get a list of the system iobuf files.
:rtype: list(str)
"""
Expand All @@ -75,7 +75,7 @@ def get_system_iobuf_files(self) -> List[str]:

def get_app_iobuf_files(self) -> List[str]:
"""
Get a list of the application iobug files.
Get a list of the application iobuf files.
:rtype: list(str)
"""
Expand Down
5 changes: 5 additions & 0 deletions spinnaker_testbase/script_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@

# This is a global function as pydevd calls _needsmain when debugging
def mockshow():
"""
This will replace pyplot.show during script tests
This avoids the plots from printed but checks the script tried to
"""
# pylint: disable=global-statement
global script_checker_shown
script_checker_shown = True
Expand Down

0 comments on commit 1ac8b82

Please sign in to comment.