Skip to content

Commit

Permalink
Update pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-f-cruz committed Jul 22, 2024
1 parent d2cd68d commit db12d29
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,20 @@ repos:

- repo: local
hooks:
- id: ruff
name: Ruff
entry: ruff check && ruff format
types: [python]
- id: ruff format
name: Ruff Formatter
entry: ruff format
types_or: [python]
language: system
pass_filenames: false
- id: ruff lint
name: Ruff Linter
language: system
entry: ruff check --fix
types_or: [python]
- id: codespell
name: CodeSpell
entry: codespell
types: [python]
language: system
pass_filenames: false
pass_filenames: false

0 comments on commit db12d29

Please sign in to comment.