diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..60bbd624ffa5808eb82d0871db0046e6ea660613 --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,13 @@ +- repo: git://github.com/pre-commit/pre-commit-hooks + sha: 97b88d9610bcc03982ddac33caba98bb2b751f5f + hooks: + - id: check-added-large-files + - id: check-json + - id: check-xml + - id: check-yaml + - id: check-merge-conflict +- repo: https://www.shore.co.il/git/shell-pre-commit/ + sha: 604fe77b53d3514d5ad0f66764c7783850bb6e98 + hooks: + - id: shell-lint + file: bundle-certs diff --git a/README.rst b/README.rst index d9c51b3348dfbd54dafd56c691701ca10f691216..4d8ce79ea123a23a57cc3d2fed7b5956d1d0a7fe 100644 --- a/README.rst +++ b/README.rst @@ -60,7 +60,8 @@ Development To ease development :code:`make clean`, :code:`make lint` and :code:`make test` are available. It's recommended to add :code:`make lint` and :code:`make test` -to to your Git pre-commit and pre-push hooks accordingly. +to to your Git pre-commit and pre-push hooks accordingly. Also, this repo has +`pre-commit <http://pre-commit.com/>`_ configured. License -------