Skip to content

Commit

Permalink
Devops: Update the pre-commit hooks
Browse files Browse the repository at this point in the history
The encoding pragme is now actually removed as it was essentially only
useful for code that needed to support Python 2.
  • Loading branch information
sphuber committed Dec 22, 2023
1 parent 91b7ce8 commit 130fa2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: check-merge-conflict
- id: check-yaml
- id: double-quote-string-fixer
- id: end-of-file-fixer
- id: fix-encoding-pragma
args: [--remove]
- id: mixed-line-ending
args: [--fix=lf]
- id: trailing-whitespace
exclude: >-
(?x)^(
Expand Down

0 comments on commit 130fa2a

Please sign in to comment.