Mark Demo 5 years ago
parent
commit
499c7c1c56
  1. 6
      .pre-commit-config.yaml

6
.pre-commit-config.yaml

@ -1,7 +1,7 @@
exclude: | exclude: |
(?x) (?x)
# Files and folders generated by bots, to avoid loops # 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? # Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$| ^README\.md$|
# Library files can have extraneous formatting (even minimized) # Library files can have extraneous formatting (even minimized)
@ -57,10 +57,10 @@ repos:
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
# exclude autogenerated files # exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: end-of-file-fixer - id: end-of-file-fixer
# exclude autogenerated files # exclude autogenerated files
exclude: /README\.rst$|\.pot?$
exclude: /README\.rst$
- id: debug-statements - id: debug-statements
- id: flake8 - id: flake8
name: flake8 except __init__.py name: flake8 except __init__.py

Loading…
Cancel
Save