diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-01-15 23:51:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 23:51:22 +0100 |
commit | e1e405b70d687897423d0d1c327efd9bea190dff (patch) | |
tree | d2abce1febe1bf7f2c2a8d741f0c4010d4cf5e2b /contrib | |
parent | 741e29caf39c57551724a48265f6d9641f8f6fe0 (diff) | |
parent | e9cd3319cf14b3d9484c4e6d7aa5040509a81653 (diff) | |
download | podman-e1e405b70d687897423d0d1c327efd9bea190dff.tar.gz podman-e1e405b70d687897423d0d1c327efd9bea190dff.tar.bz2 podman-e1e405b70d687897423d0d1c327efd9bea190dff.zip |
Merge pull request #4807 from ssbarnea/fix/pre-commit
Enable pre-commit linting
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gate/Dockerfile | 1 | ||||
-rw-r--r-- | contrib/snapcraft/.editorconfig | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/contrib/gate/Dockerfile b/contrib/gate/Dockerfile index c6aacead5..2a904a202 100644 --- a/contrib/gate/Dockerfile +++ b/contrib/gate/Dockerfile @@ -46,6 +46,7 @@ WORKDIR $GOSRC # Install dependencies RUN set -x && \ install -D -m 755 $GOSRC/contrib/gate/entrypoint.sh /usr/local/bin/ && \ + python3 -m pip install pre-commit && \ rm -rf "$GOSRC" # Install cni config diff --git a/contrib/snapcraft/.editorconfig b/contrib/snapcraft/.editorconfig index 1749b2d4c..89bc6dc80 100644 --- a/contrib/snapcraft/.editorconfig +++ b/contrib/snapcraft/.editorconfig @@ -14,4 +14,4 @@ indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true -insert_final_newline = true
\ No newline at end of file +insert_final_newline = true |