Skip to content

Commit

Permalink
EDIT+ADD: edit version of pre-commit plugins + add pre-commit update …
Browse files Browse the repository at this point in the history
…command to taskfile
  • Loading branch information
vdmitriyev committed Sep 26, 2024
1 parent face5df commit 9b67d4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ repos:
- id: debug-statements

- repo: https://github.com/psf/black
rev: 24.4.2
rev: 24.8.0
hooks:
- id: black

- repo: https://github.com/pycqa/isort
rev: 5.13.0
rev: 5.13.2
hooks:
- id: isort
args: ["--profile", "black", "--filter-files"]

- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.4
rev: v8.19.3
hooks:
- id: gitleaks
7 changes: 7 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ tasks:
cmds:
- pre-commit run --all-files

pre-commit-update:
deps: [check-virtualenv]
silent: true
cmds:
- pre-commit autoupdate
- pre-commit run --all-files

git-tag-create:
deps: [check-virtualenv]
cmds:
Expand Down

0 comments on commit 9b67d4f

Please sign in to comment.