From c5fcb41850fdddb42ab3aa1a10b982b5a4bd74e1 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Wed, 30 Aug 2023 15:41:41 +0100 Subject: [PATCH 1/2] Ignore redundant casts in latest deps CI job See https://github.com/matrix-org/synapse/issues/16100#issuecomment-1699317096 Closes https://github.com/matrix-org/synapse/issues/16100. --- .github/workflows/latest_deps.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/latest_deps.yml b/.github/workflows/latest_deps.yml index ec6391cf8fd4..7b839f59c1d9 100644 --- a/.github/workflows/latest_deps.yml +++ b/.github/workflows/latest_deps.yml @@ -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 From e08fc87a2cdf570442a6536349f65c8b547c4e69 Mon Sep 17 00:00:00 2001 From: David Robertson Date: Wed, 30 Aug 2023 15:43:00 +0100 Subject: [PATCH 2/2] Changelog --- changelog.d/16213.misc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/16213.misc diff --git a/changelog.d/16213.misc b/changelog.d/16213.misc new file mode 100644 index 000000000000..8c14f5fd51ad --- /dev/null +++ b/changelog.d/16213.misc @@ -0,0 +1 @@ +Fix the latest-deps CI job.