mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-07 23:31:20 +00:00
Merge pull request #41596 from frappe/mergify/bp/version-15-hotfix/pr-41576
chore: sync ruff config with framework (backport #41576)
This commit is contained in:
@@ -59,12 +59,14 @@ repos:
|
|||||||
rev: v0.2.0
|
rev: v0.2.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: ruff
|
- id: ruff
|
||||||
name: "Run ruff linter and apply fixes"
|
name: "Run ruff import sorter"
|
||||||
args: ["--fix"]
|
args: ["--select=I", "--fix"]
|
||||||
|
|
||||||
|
- id: ruff
|
||||||
|
name: "Run ruff linter"
|
||||||
|
|
||||||
- id: ruff-format
|
- id: ruff-format
|
||||||
name: "Format Python code"
|
name: "Run ruff formatter"
|
||||||
|
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
autoupdate_schedule: weekly
|
autoupdate_schedule: weekly
|
||||||
|
|||||||
Reference in New Issue
Block a user