Skip to content

Commit

Permalink
Remove unnecessary pyre-ignore. (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Oct 23, 2023
1 parent 00a7e7c commit 4319579
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/antsibull_changelog/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ def run(args: list[str]) -> int:
except SystemExit as e:
# All cases that sys.exit is called directly or indirectly in the above
# code (that we are aware of) always return an int.
return cast(int, e.code) # pyre-ignore[22]
return cast(int, e.code)
except Exception: # pylint: disable=broad-except
if verbosity > 0:
traceback.print_exc()
Expand Down

0 comments on commit 4319579

Please sign in to comment.