Closed beliaev-maksim closed 2 years ago
Changing to flit has removed the need for pre-commit hooks. In general I like the idea of them but the execution is dreadful, why are they not stored as part of the repository and therefore shareable by default?
For what it's worth, most people who use Granta MI do so from windows, and are unlikely to have CMake, so most of the make-based automations for installing hooks are less helpful. I will look at that package though, I've seen it mentioned in a few places.
first of all you can install make via chocolatey
even if not, just do
pip install pre-commit
pre-commit install
githooks are not stored in repo since it is a part of user environment
Changing to flt removes the necessity for the pre-commit hook, closing.
hi guys, I suggest to remove
.githooks
and create
.pre-commit-config.yaml
file, like here https://github.com/ansys/aedt-testing/blob/master/.pre-commit-config.yamlyou can add installation of the hooks automatically via
Makefile