Skip to content

Commit

Permalink
pre-commit: Bring back isort via ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Oct 19, 2024
1 parent 56127e7 commit 29ef86b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.7.0
hooks:
- id: ruff
args:
- --fix
- id: ruff-format
5 changes: 5 additions & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
indent-width = 4
line-length = 99
target-version = "py39"

[lint]
select = [
"I", # isort
]

0 comments on commit 29ef86b

Please sign in to comment.