summary refs log tree commit diff
path: root/scripts-dev/lint.sh
diff options
context:
space:
mode:
authorreivilibre <oliverw@matrix.org>2022-12-28 17:23:19 +0000
committerGitHub <noreply@github.com>2022-12-28 17:23:19 +0000
commit46993770e56f11a6daa0d338d7f4d87a2b43d0c1 (patch)
tree1e27838c5891001f313fcc4cd433becfab11562e /scripts-dev/lint.sh
parentBroken link "request_id_header" (#14740) (diff)
downloadsynapse-46993770e56f11a6daa0d338d7f4d87a2b43d0c1.tar.xz
Suppress the update check in the ruff linter. (#14741)
* Suppress update check in ruff

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
Diffstat (limited to '')
-rwxr-xr-xscripts-dev/lint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts-dev/lint.sh b/scripts-dev/lint.sh
index f6b81013c3..2bf58ac5d4 100755
--- a/scripts-dev/lint.sh
+++ b/scripts-dev/lint.sh
@@ -104,6 +104,7 @@ set -x
 isort "${files[@]}"
 python3 -m black "${files[@]}"
 ./scripts-dev/config-lint.sh
-ruff "${files[@]}"
+# --quiet suppresses the update check.
+ruff --quiet "${files[@]}"
 ./scripts-dev/check_pydantic_models.py lint
 mypy