tesseract icon indicating copy to clipboard operation
tesseract copied to clipboard

Add pre-commit for code formatting

Open johnwason opened this issue 11 months ago • 0 comments

I configured pre-commit and adjusted the GitHub Action to run instead of the shell scripts for code formatting. pre-commit offers many more checks so quite a few changes are suggested. I did not commit any of the suggested changes.

pre-commit can be run from the command line using:

python3 -m pre_commit run --all

See https://pre-commit.com/

The pre-commit action output will show the changes made by the formatters.

johnwason avatar Mar 17 '24 03:03 johnwason