Udayraj123 / OMRChecker

Evaluate OMR sheets fast and accurately using a scanner 🖨 or your phone 🤳.
GNU General Public License v3.0
709 stars 295 forks source link

Adding pre-commit hook for auto code formatting #96

Closed gaursagar21 closed 1 year ago

gaursagar21 commented 1 year ago

This PR adds a pre-commit hook to ensure consistent code formatting.

Udayraj123 commented 1 year ago

@gaursagar21 my bad... Noticed this now-

image

How can we configure prettier settings?

Udayraj123 commented 1 year ago

Nevertheless, the new one seems more compact and readable. Keeping it for now.

Udayraj123 commented 1 year ago

pre-commit depends on the repo instead of PyPI index, causing a bug.

https://www.reddit.com/r/Python/comments/yvfww8/flake8_took_down_the_gitlab_repository_in_favor/

Udayraj123 commented 1 year ago

https://github.com/Udayraj123/OMRChecker/issues/119