Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f29baef

Browse files
[pre-commit.ci] pre-commit autoupdate (#2024)
* [pre-commit.ci] pre-commit autoupdate updates: - [github.com/adamchainz/django-upgrade: 1.25.0 → 1.27.0](adamchainz/django-upgrade@1.25.0...1.27.0) - [github.com/astral-sh/ruff-pre-commit: v0.12.7 → v0.12.11](astral-sh/ruff-pre-commit@v0.12.7...v0.12.11) - [github.com/pre-commit/pre-commit-hooks: v5.0.0 → v6.0.0](pre-commit/pre-commit-hooks@v5.0.0...v6.0.0) * fix-byte-order-marker Removed the 'check-byte-order-marker' hook and added 'fix-byte-order-marker'. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Christian Clauss <[email protected]>
1 parent c96b4e1 commit f29baef

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ ci:
33
exclude: ".*/vendor/.*"
44
repos:
55
- repo: https://github.com/adamchainz/django-upgrade
6-
rev: 1.25.0
6+
rev: 1.27.0
77
hooks:
88
- id: django-upgrade
99
args: [--target-version, "5.1"] # Replace with Django version
1010

1111
- repo: https://github.com/astral-sh/ruff-pre-commit
12-
rev: v0.12.7
12+
rev: v0.12.11
1313
hooks:
1414
- id: ruff
1515
# args: [ --fix, --exit-non-zero-on-fix ]
@@ -25,12 +25,11 @@ repos:
2525
- id: black
2626

2727
- repo: https://github.com/pre-commit/pre-commit-hooks
28-
rev: v5.0.0
28+
rev: v6.0.0
2929
hooks:
3030
- id: check-added-large-files
3131
args: ["--maxkb=128"]
3232
- id: check-ast
33-
- id: check-byte-order-marker
3433
- id: check-case-conflict
3534
- id: check-docstring-first
3635
- id: check-executables-have-shebangs
@@ -43,6 +42,7 @@ repos:
4342
- id: debug-statements
4443
- id: detect-private-key
4544
- id: end-of-file-fixer
45+
- id: fix-byte-order-marker
4646
- id: mixed-line-ending
4747
args: ["--fix=lf"]
4848
- id: pretty-format-json

0 commit comments

Comments
 (0)