Skip to content

Commit 004b210

Browse files
committed
Add ruff isort
1 parent bd275ba commit 004b210

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.pre-commit-config.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ repos:
1313
rev: v0.3.4
1414
hooks:
1515
- id: ruff-format
16+
- id: ruff
17+
args: ["--fix"]
1618
- repo: https://github.com/fsfe/reuse-tool
1719
rev: v3.0.1
1820
hooks:

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ dynamic = ["dependencies", "optional-dependencies"]
4141
[tool.ruff]
4242
target-version = "py38"
4343

44+
[tool.ruff.lint]
45+
select = ["I"]
46+
4447
[tool.ruff.format]
4548
line-ending = "lf"
4649

0 commit comments

Comments
 (0)