Skip to content

Commit 13cd8bb

Browse files
Automatically apply safe fixes from ruff when using lint:format.
1 parent 28fd9ec commit 13cd8bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,10 @@ check = [
117117
"ruff format --check",
118118
"mypy formulaic",
119119
]
120-
format = "ruff format"
120+
format = [
121+
"ruff check --fix",
122+
"ruff format",
123+
]
121124

122125
# Linting configuration
123126

0 commit comments

Comments
 (0)