Skip to content

Commit

Permalink
Update pre-commit hooks
Browse files Browse the repository at this point in the history
Set pre-commit-hooks to last Py 3.6 compatible version and add a couple
of extra checks.
  • Loading branch information
tofu-rocketry committed Jul 3, 2024
1 parent acec218 commit f816aea
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,7 +1,7 @@
# See https://pre-commit.com for more information
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0
rev: v4.1.0 # Python 3.6 compatible
hooks:
# Python related checks
- id: check-ast
Expand All @@ -13,9 +13,13 @@ repos:
files: 'test/.*'
# Other checks
- id: check-added-large-files
- id: check-case-conflict
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: detect-private-key
# This file has a test cert and key
exclude: 'test_ssm.py'
- id: end-of-file-fixer
- id: mixed-line-ending
name: Force line endings to LF
Expand Down

0 comments on commit f816aea

Please sign in to comment.