Browse Source
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>
tags/v1.75.0rc1
reivilibre
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
1 deletions
-
changelog.d/14741.misc
-
scripts-dev/lint.sh
|
|
@@ -0,0 +1 @@ |
|
|
|
Use [ruff](https://github.com/charliermarsh/ruff/) instead of flake8. |
|
|
@@ -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 |