Skip to content

Commit

Permalink
Chore: Migrate pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
strangetom committed Oct 18, 2024
1 parent 8602e38 commit e5dc412
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,34 @@ repos:
rev: v4.6.0
hooks:
- id: check-added-large-files
stages: [commit]
stages: [pre-commit]
- id: check-ast
stages: [commit]
stages: [pre-commit]
- id: check-toml
stages: [commit]
stages: [pre-commit]
- id: check-yaml
stages: [commit]
stages: [pre-commit]
- id: debug-statements
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.5
hooks:
- id: ruff
args: ["--fix"]
stages: [commit]
stages: [pre-commit]
- id: ruff-format
stages: [commit]
stages: [pre-commit]
- repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.9.1
hooks:
- id: sphinx-lint
stages: [commit]
stages: [pre-commit]
- repo: local
hooks:
- id: pytest-check
name: pytest-check
entry: coverage run -m pytest
stages: [push]
stages: [pre-push]
language: system
pass_filenames: false
always_run: true

0 comments on commit e5dc412

Please sign in to comment.