Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 4699377

Browse files
authored
Suppress the update check in the ruff linter. (#14741)
* Suppress update check in ruff * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]> Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]>
1 parent 8d20b1b commit 4699377

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog.d/14741.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Use [ruff](https://github.com/charliermarsh/ruff/) instead of flake8.

scripts-dev/lint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ set -x
104104
isort "${files[@]}"
105105
python3 -m black "${files[@]}"
106106
./scripts-dev/config-lint.sh
107-
ruff "${files[@]}"
107+
# --quiet suppresses the update check.
108+
ruff --quiet "${files[@]}"
108109
./scripts-dev/check_pydantic_models.py lint
109110
mypy

0 commit comments

Comments
 (0)