diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 349b995..3d8138d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -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) @@ -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