[meld] Exclude po files from pre-commit checks
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] Exclude po files from pre-commit checks
- Date: Fri, 19 Mar 2021 21:45:40 +0000 (UTC)
commit 6baebb678a89fb38bca0d785f78f457b67892719
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Mar 20 07:37:35 2021 +1000
Exclude po files from pre-commit checks
Since we use these checks in CI but don't use MRs for i18n updates, we
can't stop bad `.po` file changes getting in to our main release
branches. In general these changes are likely to be e.g., missing-
newline-at-EOF style errors, which aren't a good reason to break CI.
.pre-commit-config.yaml | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 7238b0a5..c4687f23 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -36,3 +36,5 @@ repos:
- flake8-isort
- pep8-naming
- pycodestyle
+
+exclude: ^po/.*\.po$
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]