| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
[pre-commit](https://pre-commit.com/) is a framework for easy set-up of pre-commit hooks. This adds configuration for it to run: * ts compilation * ts linting * pr-checks synchronization The latter required the `sync.py` to be callable from the project root. `pre-commit` can be enabled with ``` python3 -m pip install pre-commit pre-commit install ```
There was a problem hiding this comment.
This looks good. It isn't for me, as it makes committing take too long, but I'm happy to approve it.
Sorry, something went wrong.
yeah, it's true I was a bit hesitant about the linting check (the other two are pretty much instant if compilation was already done). On the other hand for me that I don't work so often here, I was already bitten by committing something not passing all three of the checks 😅 FYI there is a way to tweak the configuration locally. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
pre-commit is a framework for easy set-up of pre-commit hooks.
This adds configuration for it to run:
The latter required the sync.py to be callable from the project root.
pre-commit can be enabled with
Merge / deployment checklist