From 3a5d099ec5f9c7baf703784991f4f755da98c011 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Mon, 1 Jul 2019 12:08:12 +0300 Subject: [PATCH] Check-manifest pre-commit hook. - Added check-manifest pre-commit hook. - Implement suggestions from check-manifest. --- .pre-commit-config.yaml | 4 ++++ MANIFEST.in | 3 +++ 2 files changed, 7 insertions(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 4e843bf..d4f7976 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,3 +61,7 @@ repos: - id: proselint types: [plain-text] exclude: LICENSE|requirements + - repo: https://github.com/mgedmin/check-manifest + rev: "0.39" + hooks: + - id: check-manifest diff --git a/MANIFEST.in b/MANIFEST.in index e0361b2..e401aef 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -2,3 +2,6 @@ recursive-include check_s3_bucket *.py exclude .pre-commit-config.yaml include *.rst include *.txt +exclude .dockerignore +exclude Dockerfile +exclude Pipfile* -- GitLab