Skip to content
Browse files

pre-commit: make compatible with old versions and clarify documentation

Change-Id: Iaf19b3d5ac760c8d35168e4aac4a08e2b4c2fea0
  • Loading branch information
smokey42 committed Dec 18, 2019
1 parent 6b13336 commit cf0ae8b49a2d81a4a79014802fc2f71972f4a3c8
Showing with 3 additions and 1 deletion.
  1. +3 −1
@@ -98,8 +98,10 @@ To set up the development environment do the following:
After successful installation, hook it up to your git-repository by issuing the following command inside your git repository:

pre-commit install
pre-commit install --allow-missing-config
The `--allow-missing-config` parameter is needed so that branches of older versions of Checkmk which don't
support this feature and are missing the configuration file won't throw errors.

Afterwards your commits will automatically be checked for conformity by `pre-commit`. If you know a
check (like mypy for example) got something wrong and you don't want to fix it right away you can skip

0 comments on commit cf0ae8b

Please sign in to comment.
You can’t perform that action at this time.