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

6
.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

Loading…
Cancel
Save