Skip to content

Commit

Permalink
chore: update pre-commit config format/structure
Browse files Browse the repository at this point in the history
  • Loading branch information
winged committed Feb 26, 2025
1 parent 400202e commit 85a4d55
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@ repos:
- repo: local
hooks:
- id: ruff-format
stages: [commit]
stages: [pre-commit]
name: format code
language: system
entry: ruff format .
types: [python]
- id: ruff-check
stages: [commit]
stages: [pre-commit]
name: check format,import
language: system
entry: ruff check .
entry: ruff check --fix .
types: [python]
- id: reuse
stages: [commit]
stages: [pre-commit]
name: reuse
description: Check licenses
entry: reuse lint
Expand Down

0 comments on commit 85a4d55

Please sign in to comment.