Merge pull request #41576 from akhilnarang/sync-ruff-config

chore: sync ruff config with framework
This commit is contained in:
Akhil Narang
2024-05-23 12:50:33 +05:30
committed by GitHub

View File

@@ -59,12 +59,14 @@ repos:
rev: v0.2.0
hooks:
- id: ruff
name: "Run ruff linter and apply fixes"
args: ["--fix"]
name: "Run ruff import sorter"
args: ["--select=I", "--fix"]
- id: ruff
name: "Run ruff linter"
- id: ruff-format
name: "Format Python code"
name: "Run ruff formatter"
ci:
autoupdate_schedule: weekly