Skip to content

Commit

Permalink
MNT: Upgrade ruff pre-commit, add fixing checks (#3283)
Browse files Browse the repository at this point in the history
Should make life a little easier on @DimitriPapadopoulos :-).
  • Loading branch information
effigies authored May 8, 2024
1 parent 15c29d8 commit 391a0c2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ repos:
- id: check-toml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.0
rev: v0.4.3
hooks:
- id: ruff
args: [ --fix ]
- id: ruff-format
- id: ruff
args: [ --select, ISC001, --fix ]

0 comments on commit 391a0c2

Please sign in to comment.