Skip to content

Commit

Permalink
build: updated hooks in pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBjare committed Oct 15, 2024
1 parent 798b754 commit 1724534
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.6.9
hooks:
# Run the linter.
- id: ruff
args: [ --fix ]
# Run the formatter.
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
rev: '' # Use the sha / tag you want to point at
rev: v1.12.0
hooks:
- id: mypy
additional_dependencies: [types-tabulate, types-docutils]
Expand Down

0 comments on commit 1724534

Please sign in to comment.