diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..86cd7d06cff3dc7dde4925e30cd5d0f2c57504c6 --- /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 + files: ssl-ca diff --git a/README.rst b/README.rst index 8eb46af684e3cf71a58971bf56e5d3f5813e3ddc..3a8f768e6c80a7bba7f5a10d950df9d81d583b25 100644 --- a/README.rst +++ b/README.rst @@ -70,7 +70,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 -------