Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 6472811

Browse files
David Robertsonhughns
authored andcommitted
Ignore redundant casts in latest deps CI job (#16213)
1 parent bc92139 commit 6472811

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/latest_deps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ jobs:
5757
# `pip install matrix-synapse[all]` as closely as possible.
5858
- run: poetry update --no-dev
5959
- run: poetry run pip list > after.txt && (diff -u before.txt after.txt || true)
60-
- name: Remove warn_unused_ignores from mypy config
61-
run: sed '/warn_unused_ignores = True/d' -i mypy.ini
60+
- name: Remove unhelpful options from mypy config
61+
run: sed -e '/warn_unused_ignores = True/d' -e '/warn_redundant_casts = True/d' -i mypy.ini
6262
- run: poetry run mypy
6363
trial:
6464
needs: check_repo

changelog.d/16213.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix the latest-deps CI job.

0 commit comments

Comments
 (0)