Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic authored and DimitriPapadopoulos committed Nov 14, 2023
1 parent cce7a66 commit aaaecc1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions codespell_lib/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,5 @@
if __name__ == "__main__":
try:
sys.exit(_script_main())
except BrokenPipeError:
pass
except KeyboardInterrupt:
except (KeyboardInterrupt, BrokenPipeError):

Check warning on line 8 in codespell_lib/__main__.py

View check run for this annotation

Codecov / codecov/patch

codespell_lib/__main__.py#L8

Added line #L8 was not covered by tests
pass

0 comments on commit aaaecc1

Please sign in to comment.