Skip to content

Commit

Permalink
Merge pull request #37 from yelizariev/pot-files
Browse files Browse the repository at this point in the history
disable checks in *.pot and *.po files globally
  • Loading branch information
Ivan Yelizariev authored Feb 12, 2020
2 parents 89316a7 + 6dfc8d1 commit 77ba4f0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions static-files/10.0/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: |
(?x)
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
^setup/|/static/description/index\.html$|/i18n/.*\.pot?$|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
Expand Down Expand Up @@ -57,10 +57,10 @@ repos:
hooks:
- id: trailing-whitespace
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: end-of-file-fixer
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: debug-statements
- id: flake8
name: flake8 except __init__.py
Expand Down
6 changes: 3 additions & 3 deletions static-files/11.0/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: |
(?x)
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
^setup/|/static/description/index\.html$|/i18n/.*\.pot?$|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
Expand Down Expand Up @@ -57,10 +57,10 @@ repos:
hooks:
- id: trailing-whitespace
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: end-of-file-fixer
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: debug-statements
- id: flake8
name: flake8 except __init__.py
Expand Down
6 changes: 3 additions & 3 deletions static-files/12.0/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: |
(?x)
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
^setup/|/static/description/index\.html$|/i18n/.*\.pot?$|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
Expand Down Expand Up @@ -57,10 +57,10 @@ repos:
hooks:
- id: trailing-whitespace
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: end-of-file-fixer
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: debug-statements
- id: flake8
name: flake8 except __init__.py
Expand Down
6 changes: 3 additions & 3 deletions static-files/13.0/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
exclude: |
(?x)
# Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
^setup/|/static/description/index\.html$|/i18n/.*\.pot?$|
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
# Library files can have extraneous formatting (even minimized)
Expand Down Expand Up @@ -57,10 +57,10 @@ repos:
hooks:
- id: trailing-whitespace
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: end-of-file-fixer
# exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: debug-statements
- id: flake8
name: flake8 except __init__.py
Expand Down

0 comments on commit 77ba4f0

Please sign in to comment.