Skip to content
Snippets Groups Projects
Commit d5908ee5 authored by Tim Jaacks's avatar Tim Jaacks
Browse files

Refactoring: remove needless str() from print()

See for reference:
https://docs.sourcery.ai/Reference/Python/Default-Rules/remove-str-from-print/
parent 479861fb
No related branches found
No related tags found
1 merge request!267Refactoring: remove needless str() from print()
Pipeline #70700 skipped with stage
...@@ -42,7 +42,6 @@ rule_settings: ...@@ -42,7 +42,6 @@ rule_settings:
- or-if-exp-identity - or-if-exp-identity
- remove-pass-elif - remove-pass-elif
- remove-redundant-continue - remove-redundant-continue
- remove-str-from-print
rule_types: rule_types:
- refactoring - refactoring
......
...@@ -107,7 +107,7 @@ def main(): ...@@ -107,7 +107,7 @@ def main():
sys.exit(1) sys.exit(1)
except LookupError as e: except LookupError as e:
print(str(e)) print(e)
# Else start a new pipeline on given ref # Else start a new pipeline on given ref
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment