Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Nov 20, 2023
1 parent a9c09db commit af75361
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
exclude: |
(?x)
NOT INSTALLABLE ADDONS
END NOT INSTALLABLE ADDONS
Files and folders generated by bots, to avoid loops
# NOT INSTALLABLE ADDONS
# END NOT INSTALLABLE ADDONS
#Files and folders generated by bots, to avoid loops
^setup/|/static/description/index\.html$|
We don't want to mess with tool-generated files
# We don't want to mess with tool-generated files
.svg$|/tests/([^/]+/)?cassettes/|^.copier-answers.yml$|^.github/|
Maybe reactivate this when all README files include prettier ignore tags?
# Maybe reactivate this when all README files include prettier ignore tags?
^README\.md$|
Library files can have extraneous formatting (even minimized)
# Library files can have extraneous formatting (even minimized)
/static/(src/)?lib/|
Repos using Sphinx to generate docs don't need prettying
# Repos using Sphinx to generate docs don't need prettying
^docs/_templates/.*\.html$|
You don't usually want a bot to modify your legal texts
# You don't usually want a bot to modify your legal texts
(LICENSE.*|COPYING.*)
default_language_version:
python: python3.6
Expand Down Expand Up @@ -89,12 +89,12 @@ repos:
args:
- --keep-percent-format
- --py36-plus
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
language_version: python3.6
hooks:
- id: isort
name: isort except __init__.py
args:
- --settings=.
exclude: /__init__\.py$
# - repo: https://github.com/PyCQA/isort
# rev: 5.12.0
# language_version: python3.8
# hooks:
# - id: isort
# name: isort except __init__.py
# args:
# - --settings=.
# exclude: /__init__\.py$

0 comments on commit af75361

Please sign in to comment.