summary refs log tree commit diff
path: root/.github/workflows/latest_deps.yml
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-04-29 17:57:23 +0100
committerGitHub <noreply@github.com>2022-04-29 17:57:23 +0100
commit57fac2a2347e0b386385868cdd1ae435364062b5 (patch)
treec8bdc86b8e3dd837e10310e030d8cd40ecb0efc3 /.github/workflows/latest_deps.yml
parentImprove the docstrings for the receipts store. (#12581) (diff)
downloadsynapse-57fac2a2347e0b386385868cdd1ae435364062b5.tar.xz
Allow unused ignores in "bleeding edge" CI (#12576)
* Allow unused ignores in "bleeding edge" CI

Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs.

Follow up from #12531.
Resolves #12574.

* Use `--extras all` in latest deps mypy CI

Twisted trunk job already does this.

Missed in #12531.

* changelog
Diffstat (limited to '.github/workflows/latest_deps.yml')
-rw-r--r--.github/workflows/latest_deps.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/latest_deps.yml b/.github/workflows/latest_deps.yml
index 1a61d179d9..c537a5a60f 100644
--- a/.github/workflows/latest_deps.yml
+++ b/.github/workflows/latest_deps.yml
@@ -32,12 +32,15 @@ jobs:
         with:
           python-version: "3.x"
           poetry-version: "1.2.0b1"
+          extras: "all"
       # Dump installed versions for debugging.
       - run: poetry run pip list > before.txt
       # Upgrade all runtime dependencies only. This is intended to mimic a fresh
       # `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
       - run: poetry run mypy
   trial:
     runs-on: ubuntu-latest