From b52fa2610b8f74ae88fdeb9169c34bf9f7d2351a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 8 Feb 2020 14:05:46 +0100 Subject: [PATCH 1/2] Move .editorconfig to pre-commit directory Because some pre-commit hooks now depend on it. --- sample_files/{ => pre-commit-13.0}/.editorconfig | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sample_files/{ => pre-commit-13.0}/.editorconfig (100%) diff --git a/sample_files/.editorconfig b/sample_files/pre-commit-13.0/.editorconfig similarity index 100% rename from sample_files/.editorconfig rename to sample_files/pre-commit-13.0/.editorconfig From 7cc84e6eec5f01fa357ec6fa93d2831fcbb2ea20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Bidoul?= Date: Sat, 8 Feb 2020 14:06:06 +0100 Subject: [PATCH 2/2] pre-commit: ignore more LICENSE files --- sample_files/pre-commit-13.0/.pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sample_files/pre-commit-13.0/.pre-commit-config.yaml b/sample_files/pre-commit-13.0/.pre-commit-config.yaml index 3ba385896..963476d18 100644 --- a/sample_files/pre-commit-13.0/.pre-commit-config.yaml +++ b/sample_files/pre-commit-13.0/.pre-commit-config.yaml @@ -9,7 +9,7 @@ exclude: | # Repos using Sphinx to generate docs don't need prettying ^docs/_templates/.*\.html$| # You don't usually want a bot to modify your legal texts - /(LICENSE|COPYING) + (LICENSE.*|COPYING.*) default_language_version: python: python3 repos: