Skip to content

Commit

Permalink
Return exit status in __main__.py (codespell-project#3157)
Browse files Browse the repository at this point in the history
Co-authored-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
  • Loading branch information
szepeviktor and DimitriPapadopoulos authored Oct 17, 2023
1 parent 63319c1 commit d4a9bf3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion codespell_lib/__main__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import sys

from ._codespell import _script_main

if __name__ == "__main__":
_script_main()
sys.exit(_script_main())

0 comments on commit d4a9bf3

Please sign in to comment.