mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-24 01:19:22 -05:00
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>
This commit is contained in:
parent
8d20b1ba1e
commit
46993770e5
1
changelog.d/14741.misc
Normal file
1
changelog.d/14741.misc
Normal file
@ -0,0 +1 @@
|
|||||||
|
Use [ruff](https://github.com/charliermarsh/ruff/) instead of flake8.
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user