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.