Skip to content

Commit

Permalink
minor pylint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Winter committed Aug 26, 2024
1 parent d403bfe commit 2e50507
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -595,5 +595,5 @@ preferred-modules=

# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
Exception
#overgeneral-exceptions=BaseException,
# Exception
2 changes: 1 addition & 1 deletion qt/includemocs/includemocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def stripInitialSlash(path):


def shouldExclude(root, path):
# pylint: disable=used-before-assignment
# pylint: disable=used-before-assignment,possibly-used-before-assignment
if not args.excludes:
return False # No excludes provided

Expand Down
1 change: 1 addition & 0 deletions squish/kdrunsquish.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ async def _runAsync(self, env):
print(self.serverStdout.getvalue())
print(self.runnerStdout.getvalue())

tag = ""
if passedUnexpectedly:
tag = '[XOK ]'
elif passedExpectedly:
Expand Down

0 comments on commit 2e50507

Please sign in to comment.