pre-commit: Update versions
Change-Id: Ida9f687195547cbb3afe4a727ed84c2e81c63365 Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v5.0.0
|
rev: v6.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: trailing-whitespace
|
- id: trailing-whitespace
|
||||||
# Replaces or checks mixed line ending
|
# Replaces or checks mixed line ending
|
||||||
@@ -8,7 +8,7 @@ repos:
|
|||||||
args: ['--fix', 'lf']
|
args: ['--fix', 'lf']
|
||||||
exclude: '.*\.(svg)$'
|
exclude: '.*\.(svg)$'
|
||||||
# Forbid files which have a UTF-8 byte-order marker
|
# Forbid files which have a UTF-8 byte-order marker
|
||||||
- id: check-byte-order-marker
|
- id: fix-byte-order-marker
|
||||||
# Checks that non-binary executables have a proper shebang
|
# Checks that non-binary executables have a proper shebang
|
||||||
- id: check-executables-have-shebangs
|
- id: check-executables-have-shebangs
|
||||||
# Check for files that contain merge conflict strings.
|
# Check for files that contain merge conflict strings.
|
||||||
@@ -24,7 +24,7 @@ repos:
|
|||||||
- id: hacking
|
- id: hacking
|
||||||
additional_dependencies: []
|
additional_dependencies: []
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.18.0
|
rev: v3.20.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: pyupgrade
|
- id: pyupgrade
|
||||||
args: [--py3-only]
|
args: [--py3-only]
|
||||||
|
Reference in New Issue
Block a user