Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate
Browse files Browse the repository at this point in the history
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.6.8 → v0.6.9](astral-sh/ruff-pre-commit@v0.6.8...v0.6.9)
  • Loading branch information
pre-commit-ci[bot] authored Oct 7, 2024
1 parent 3ba1c73 commit ffa0efe
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
name: trim trailing whitespace
description: trims trailing whitespace.
entry: trailing-whitespace-fixer
language: python
types: [text]
stages: [commit, push, manual]
stages: [Nonepre-commitNone, Nonepre-pushNone, manual]

- id: end-of-file-fixer
name: fix end of files
description: ensures that a file is either empty, or ends with one newline.
entry: end-of-file-fixer
language: python
types: [text]
stages: [commit, push, manual]
stages: [Nonepre-commitNone, Nonepre-pushNone, manual]

- id: detect-aws-credentials
name: detect aws credentials
Expand All @@ -40,15 +40,15 @@ repos:
entry: check-executables-have-shebangs
language: python
types: [text, executable]
stages: [commit, push, manual]
stages: [Nonepre-commitNone, Nonepre-pushNone, manual]

- id: check-shebang-scripts-are-executable
name: check that scripts with shebangs are executable
description: ensures that (non-binary) files with a shebang are executable.
entry: check-shebang-scripts-are-executable
language: python
types: [text]
stages: [commit, push, manual]
stages: [Nonepre-commitNone, Nonepre-pushNone, manual]

- id: check-json
name: check json
Expand All @@ -74,7 +74,7 @@ repos:
description: prevents giant files from being committed.
entry: check-added-large-files
language: python
stages: [commit, push, manual]
stages: [Nonepre-commitNone, Nonepre-pushNone, manual]
args: ["--maxkb=10240"]

# Versioning: Commit messages & changelog
Expand All @@ -87,7 +87,7 @@ repos:
# Lint / autoformat: Python code
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.6.8"
rev: "v0.6.9"
hooks:
# Run the linter
- id: ruff
Expand Down

0 comments on commit ffa0efe

Please sign in to comment.