Skip to content

Commit 869b88d

Browse files
committed
Update pre-commit hooks
1 parent a7bb9e7 commit 869b88d

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ exclude: ".*test-data.*"
22

33
repos:
44
- repo: https://github.com/astral-sh/ruff-pre-commit
5-
rev: v0.6.9
5+
rev: v0.15.2
66
hooks:
77
- id: ruff
88
args: [--fix, --exit-non-zero-on-fix]
99
- id: ruff-format
1010

1111
- repo: https://github.com/pre-commit/pre-commit-hooks
12-
rev: v5.0.0
12+
rev: v6.0.0
1313
hooks:
1414
- id: check-added-large-files
1515
args: ["--maxkb=128"]
1616
- id: check-ast
17-
- id: check-byte-order-marker
17+
- id: fix-byte-order-marker
1818
- id: check-case-conflict
1919
- id: check-docstring-first
2020
- id: check-executables-have-shebangs

bagit.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1489,10 +1489,7 @@ def _make_parser():
14891489

14901490
checksum_args = parser.add_argument_group(
14911491
_("Checksum Algorithms"),
1492-
_(
1493-
"Select the manifest algorithms to be used when creating bags"
1494-
" (default=%s)"
1495-
)
1492+
_("Select the manifest algorithms to be used when creating bags (default=%s)")
14961493
% ", ".join(DEFAULT_CHECKSUMS),
14971494
)
14981495

0 commit comments

Comments
 (0)