0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-12 21:43:21 +01:00

Ignore redundant casts in latest deps CI job (#16213)

This commit is contained in:
David Robertson 2023-08-30 22:55:47 +01:00 committed by GitHub
parent 3de82bb2af
commit ed5e8a77ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -57,8 +57,8 @@ jobs:
# `pip install matrix-synapse[all]` as closely as possible.
- run: poetry update --no-dev
- run: poetry run pip list > after.txt && (diff -u before.txt after.txt || true)
- name: Remove warn_unused_ignores from mypy config
run: sed '/warn_unused_ignores = True/d' -i mypy.ini
- name: Remove unhelpful options from mypy config
run: sed -e '/warn_unused_ignores = True/d' -e '/warn_redundant_casts = True/d' -i mypy.ini
- run: poetry run mypy
trial:
needs: check_repo

1
changelog.d/16213.misc Normal file
View file

@ -0,0 +1 @@
Fix the latest-deps CI job.