Skip to content

Commit bd7d709

Browse files
[ruff configuration] Fix legacy alias and top-level linter settings (#13761)
1 parent 9355aad commit bd7d709

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
33
rev: "v0.13.1"
44
hooks:
5-
- id: ruff
5+
- id: ruff-check
66
args: ["--fix"]
77
- id: ruff-format
88
- repo: https://github.com/pre-commit/pre-commit-hooks

doc/en/example/.ruff.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ignore = ["RUF059"]
1+
lint.ignore = ["RUF059"]

0 commit comments

Comments
 (0)