Skip to content

Commit

Permalink
Pre-commit: Update pre-commit version and hook config
Browse files Browse the repository at this point in the history
The encoding pragma 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 357fc45 commit f6197f5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.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

- repo: https://github.com/ikamensh/flynt/
Expand Down

0 comments on commit f6197f5

Please sign in to comment.