Skip to content

Commit

Permalink
chore: update pre-config
Browse files Browse the repository at this point in the history
  • Loading branch information
m9810223 committed May 24, 2024
1 parent e4f8f4d commit 53e8f86
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
Expand Up @@ -24,25 +24,25 @@ repos:
### PYTHON

- repo: https://github.com/psf/black
rev: 6fdf8a4af28071ed1d079c01122b34c5d587207a # frozen: 24.2.0
rev: 3702ba224ecffbcec30af640c149f231d90aebdb # frozen: 24.4.2
hooks: # https://black.readthedocs.io/en/stable/integrations/source_version_control.html
- id: black

- repo: https://github.com/charliermarsh/ruff-pre-commit
rev: cc575a3e5800b42ffbb5182b53d87203b2c4fc26 # frozen: v0.2.2
rev: fc609d3ce5e38f1d32423050196bf0ce4ecc59c1 # frozen: v0.4.5
hooks: # https://beta.ruff.rs/docs/installation-and-usage/#usage
- id: ruff

- repo: https://github.com/pre-commit/mirrors-mypy
rev: "8cd2d4056637e242709fe09f15a36f0b4b682bda" # frozen: v1.8.0
rev: "e5ea6670624c24f8321f6328ef3176dbba76db46" # frozen: v1.10.0
hooks:
- id: mypy
additional_dependencies: [types-all]
args:
- --explicit-package-bases

- repo: https://github.com/asottile/pyupgrade
rev: df17dfa3911b81b4a27190b0eea5b1debc7ffa0a # frozen: v3.15.1
rev: 12af25eb252deaaecb6b259df40d01f42e716dc3 # frozen: v3.15.2
hooks:
- id: pyupgrade

Expand All @@ -58,12 +58,12 @@ repos:
### MISC

- repo: https://github.com/crate-ci/typos
rev: 15c3fd95cb1c654bec86ec94bef057cc08a1c1c1 # frozen: typos-v0.10.21
rev: ee276ae87cb98d65004ebc0096d2c3a210ba9adc # frozen: v1.21.0
hooks:
- id: typos

- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: 0afbc519ee4aa0a1eb0f7dd78876c8de46d4cf08 # frozen: v2.12.0
rev: bdf9bad34ed8102dee37a1fabb11ebc40d51063f # frozen: v2.13.0
hooks:
- id: pretty-format-yaml
args:
Expand All @@ -72,7 +72,7 @@ repos:
- --autofix

- repo: https://github.com/pre-commit/pre-commit-hooks
rev: c4a0b883114b00d8d76b479c820ce7950211c99b # frozen: v4.5.0
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # frozen: v4.6.0
hooks: # https://pre-commit.com/hooks.html
# `(\S) - ` -> `$1 # `
- id: check-added-large-files # prevents giant files from being committed.
Expand Down

0 comments on commit 53e8f86

Please sign in to comment.