Skip to content

Commit

Permalink
Updates pre-commit hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
danmilne1 committed Oct 17, 2023
1 parent a1affe2 commit 9e21e20
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.5.0
hooks:
- id: check-added-large-files
name: Check for files larger than 5 MB
Expand All @@ -12,25 +12,25 @@ repos:
- id: trailing-whitespace
name: Check for trailing whitespaces (auto-fixes)
- repo: https://github.com/pycqa/isort
rev: 5.8.0
rev: 5.12.0
hooks:
- id: isort
name: isort - Sort Python imports (auto-fixes)
types: [ cython, pyi, python ]
args: [ "--profile", "black", "--filter-files" ]
- repo: https://github.com/psf/black
rev: 21.5b2 # Replace by any tag/version: https://github.com/psf/black/tags
rev: 23.9.1 # Replace by any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
name: black - consistent Python code formatting (auto-fixes)
language_version: python # Should be a command that runs python3.6+
language_version: python # Should be a command that runs python 3.8+
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
rev: 6.1.0
hooks:
- id: flake8
name: flake8 - Python linting
- repo: https://github.com/Yelp/detect-secrets
rev: v1.0.3
rev: v1.4.0
hooks:
- id: detect-secrets
name: detect-secrets - Detect secrets in staged code
Expand Down

0 comments on commit 9e21e20

Please sign in to comment.