Explorar el Código

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 hace 1 año
committed by GitHub
padre
commit
46993770e5
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  1. +1
    -0
      changelog.d/14741.misc
  2. +2
    -1
      scripts-dev/lint.sh

+ 1
- 0
changelog.d/14741.misc Ver fichero

@@ -0,0 +1 @@
Use [ruff](https://github.com/charliermarsh/ruff/) instead of flake8.

+ 2
- 1
scripts-dev/lint.sh Ver fichero

@@ -104,6 +104,7 @@ set -x
isort "${files[@]}" isort "${files[@]}"
python3 -m black "${files[@]}" python3 -m black "${files[@]}"
./scripts-dev/config-lint.sh ./scripts-dev/config-lint.sh
ruff "${files[@]}"
# --quiet suppresses the update check.
ruff --quiet "${files[@]}"
./scripts-dev/check_pydantic_models.py lint ./scripts-dev/check_pydantic_models.py lint
mypy mypy

Cargando…
Cancelar
Guardar