Skip to content

Commit

Permalink
Adjust to pylint E0601
Browse files Browse the repository at this point in the history
  • Loading branch information
cinek810 committed Oct 13, 2023
1 parent e237522 commit 064babb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions source/modules/validators/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,12 @@ def validate_self_setup(self, options: dict, config: dict):
infra["name"])
sys.exit(59)
else:
ret = options["self_setup"]
return options["self_setup"]
else:
self.logger.critical("Provided --self-setup path %s does not exist!",
options["self_setup"])
sys.exit(59)

return ret

def validate_commit(self, options: dict, config: dict):
"""Function to validate commit value against config and assign final value"""
if not options["commit"]:
Expand Down

0 comments on commit 064babb

Please sign in to comment.