Merge pull request #1313 from Vaibhav159/vl_add_automated_formatting
using ruff automated formatting to avoid action failures.
This commit is contained in:
@@ -1,7 +1,8 @@
|
|||||||
repos:
|
repos:
|
||||||
- repo: local
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
||||||
|
rev: v0.9.7
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff-format-hook
|
- id: ruff
|
||||||
name: Check ruff formatting
|
language_version: python3
|
||||||
entry: sh scripts/pre-commit.sh
|
args: [ --select, I, ]
|
||||||
language: system
|
- id: ruff-format
|
||||||
|
|||||||
Reference in New Issue
Block a user