fix: automatically fix issues with ruff (#31897)

* Perform safe automatic fixes instead of only selecting
[isort](https://docs.astral.sh/ruff/rules/#isort-i)
This commit is contained in:
Mason Daugherty
2025-07-07 14:13:10 -04:00
committed by GitHub
parent e686a70ee0
commit 706a66eccd
21 changed files with 24 additions and 23 deletions

View File

@@ -40,7 +40,7 @@ lint lint_diff lint_package lint_tests:
format format_diff:
[ "$(PYTHON_FILES)" = "" ] || uv run --all-groups ruff format $(PYTHON_FILES)
[ "$(PYTHON_FILES)" = "" ] || uv run --all-groups ruff check --select I --fix $(PYTHON_FILES)
[ "$(PYTHON_FILES)" = "" ] || uv run --all-groups ruff check --fix $(PYTHON_FILES)
spell_check:
uv run --all-groups codespell --toml pyproject.toml