Skip to content

Commit

Permalink
Update .pre-commit-config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsteve committed Dec 24, 2023
1 parent cca8429 commit dddee26
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,28 +21,30 @@ repos:
# E902 - IOError
# F822: undefined name in __all__
# F823: local variable name referenced before assignment
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.9
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8
args: ['--count', '--select', 'E101,W191,W291,W292,W293,W391,E111,E112,E113,E303,E304,E306,E502,E722,E901,E902,F822,F823']
args: ['--count', '--select', 'E501, E203']

- repo: https://github.com/psf/black
rev: 21.6b0
rev: 23.12.1
hooks:
- id: black

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0
rev: v4.5.0
hooks:
- id: check-ast
- id: check-case-conflict
- id: trailing-whitespace
exclude: ".*(.fits|.fts|.fit|.txt)$"
- id: check-yaml
- id: check-toml
- id: detect-private-key
- id: end-of-file-fixer
- id: debug-statements
- id: check-added-large-files
# - id: end-of-file-fixer uncommenting this will break the testing of the cookiecutter template
# exclude: ".*(.fits|.fts|.fit|.txt|tca.*)$"
- id: mixed-line-ending
exclude: ".*(.fits|.fts|.fit|.txt|tca.*)$"
exclude: ".*(.fits|.fts|.fit|.txt|tca.*)$"

0 comments on commit dddee26

Please sign in to comment.