diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cf91a48ffddbcaeced813e2fd17a2c2570dc2c71 --- /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: ssh-ca diff --git a/README.rst b/README.rst index 39d1e6f579ebe339505a2624ffc6c140d6d64bc8..7e4ac8af037c2a77d3ee78f3263056ab4f0ed8e5 100644 --- a/README.rst +++ b/README.rst @@ -88,7 +88,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 accourdingly. +to to your Git pre-commit and pre-push hooks accourdingly. Also, this repo has +`pre-commit <http://pre-commit.com/>`_ configured. License -------