Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#711)
Browse files Browse the repository at this point in the history
<!--pre-commit.ci start-->
updates:
- [github.com/psf/black: 23.7.0 → 23.9.1](psf/black@23.7.0...23.9.1)
- [github.com/astral-sh/ruff-pre-commit: v0.0.286 → v0.0.288](astral-sh/ruff-pre-commit@v0.0.286...v0.0.288)
<!--pre-commit.ci end-->
  • Loading branch information
pre-commit-ci[bot] committed Sep 13, 2023
1 parent eb49f66 commit 459ec03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,15 @@ repos:
files: whitelist.txt
- id: debug-statements # Checks for debugger imports and py37+ `breakpoint()` calls in python source.
- id: pretty-format-json # Sets a standard for formatting JSON files.
exclude_types: [jupyter]
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.10.0
hooks:
- id: rst-backticks # Detect common mistake of using single backticks when writing rst.
- id: rst-directive-colons # Detect mistake of rst directive not ending with double colon.
- id: rst-inline-touching-normal # Detect mistake of inline code touching normal text in rst.
- repo: https://github.com/psf/black
rev: 23.7.0 # Replace with any tag/version: https://github.com/psf/black/tags
rev: 23.9.1 # Replace with any tag/version: https://github.com/psf/black/tags
hooks:
- id: black
language_version: python3 # Should be a command that runs python3.+
Expand All @@ -67,7 +68,7 @@ repos:
language: python
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.0.286
rev: v0.0.288
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down

0 comments on commit 459ec03

Please sign in to comment.