Skip to content

Commit 91fbfd5

Browse files
committed
update plugin versions
1 parent c9e323a commit 91fbfd5

2 files changed

Lines changed: 9 additions & 8 deletions

File tree

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
repos:
22
# Code formatting
33
- repo: https://github.com/psf/black
4-
rev: 23.12.1
4+
rev: 25.1.0
55
hooks:
66
- id: black
77
language_version: python3
@@ -16,13 +16,13 @@ repos:
1616

1717
# Linting
1818
- repo: https://github.com/pycqa/flake8
19-
rev: 7.0.0
19+
rev: 7.3.0
2020
hooks:
2121
- id: flake8
2222

2323
# Security checks
2424
- repo: https://github.com/PyCQA/bandit
25-
rev: 1.7.5
25+
rev: 1.8.5
2626
hooks:
2727
- id: bandit
2828
args: [-f, json, -o, bandit-report.json]
@@ -45,7 +45,7 @@ repos:
4545

4646
# Check for secrets in code
4747
- repo: https://github.com/Yelp/detect-secrets
48-
rev: v1.4.0
48+
rev: v1.5.0
4949
hooks:
5050
- id: detect-secrets
5151
args: [--baseline, .secrets.baseline]

Makefile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ help:
1010
@echo " requirements - install runtime dependencies"
1111
@echo " development-requirements - install development dependencies"
1212
@echo " pre-commit-install - install pre-commit hooks"
13+
@echo " pre-commit-update - update pre-commit hooks"
1314
@echo " pre-commit-run - run pre-commit on all files"
1415
@echo " pre-commit-clean - remove pre-commit hooks"
1516
@echo " lint - run flake8, pylint, black, and isort checks"
@@ -24,13 +25,13 @@ all: requirements lint test build
2425
development-requirements: requirements
2526
pip install --quiet --upgrade --requirement development-requirements.txt
2627

27-
requirements:
28-
pip install --upgrade pip
29-
pip install --quiet --upgrade --requirement requirements.txt
30-
3128
pre-commit-install: development-requirements
3229
pre-commit install
3330

31+
pre-commit-update: development-requirements
32+
pre-commit autoupdate
33+
$(MAKE) pre-commit-run
34+
3435
pre-commit-run: development-requirements
3536
pre-commit run --all-files
3637

0 commit comments

Comments
 (0)