Skip to content

Commit

Permalink
Bump pre-commit hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-parton committed Oct 13, 2023
1 parent 9ad04da commit 7bd797d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
18 changes: 4 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
repos:
- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: "v0.0.263"
rev: "v0.0.292"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/ambv/black
rev: "23.3.0"
rev: "23.9.1"
hooks:
- id: black
require_serial: true

# - repo: local
# hooks:
# - id: darglint
# name: darglint
# entry: darglint
# types: [python]
# stages: [manual]

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: "v4.5.0"
hooks:
- id: check-added-large-files
- id: check-toml
Expand All @@ -32,8 +23,7 @@ repos:
- id: trailing-whitespace
types: [text]
stages: [commit, push, manual]

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.6.0
rev: "v3.0.3"
hooks:
- id: prettier
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ select = ["ALL"]
max-complexity = 10

[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=1,<2"]
build-backend = "maturin"

[tool.maturin]
Expand Down

0 comments on commit 7bd797d

Please sign in to comment.