Skip to content

Commit

Permalink
fix(pylint): address broad-exception-raised
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Basti <[email protected]>
  • Loading branch information
MartinBasti authored and mkosiarc committed Jul 18, 2023
1 parent 9cd9cde commit 7d0e604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def read_version(fp, regex):
if len(found) == 1:
return found[0]
else:
raise Exception("Version not found!")
raise RuntimeError("Version not found!")

import dockerfile_parse
from dockerfile_parse import __version__ as module_version
Expand Down

0 comments on commit 7d0e604

Please sign in to comment.