Skip to content

Commit

Permalink
CI: Remove unused imports using Ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
intgr committed Jun 5, 2023
1 parent 0ea2222 commit 43b8b85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ repos:
rev: v0.0.269
hooks:
- id: ruff
args: ["--fix", "--fixable=I001", "--exit-non-zero-on-fix"]
args: ["--fix", "--fixable=I001,F401", "--exit-non-zero-on-fix"]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ line-length = 120
target-version = "py38"
select = [
"I", # isort
"F401", # Unused imports
]

[tool.ruff.isort]
Expand Down

0 comments on commit 43b8b85

Please sign in to comment.