diff options
author | David Robertson <davidr@element.io> | 2022-04-28 11:27:42 +0100 |
---|---|---|
committer | David Robertson <davidr@element.io> | 2022-04-28 11:28:22 +0100 |
commit | ce6ecdd4b4939fd99418bc949b40c01d39480489 (patch) | |
tree | 88e8c4a6ad7029ac02c738fec4f924b3e408e913 | |
parent | Prefer `make_awaitable` over `defer.succeed` in tests (#12505) (diff) | |
download | synapse-ce6ecdd4b4939fd99418bc949b40c01d39480489.tar.xz |
Allow unused ignores in "bleeding edge" CI
Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574.
-rw-r--r-- | .github/workflows/latest_deps.yml | 2 | ||||
-rw-r--r-- | .github/workflows/twisted_trunk.yml | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/latest_deps.yml b/.github/workflows/latest_deps.yml index 1a61d179d9..41da1c7408 100644 --- a/.github/workflows/latest_deps.yml +++ b/.github/workflows/latest_deps.yml @@ -38,6 +38,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 - run: poetry run mypy trial: runs-on: ubuntu-latest diff --git a/.github/workflows/twisted_trunk.yml b/.github/workflows/twisted_trunk.yml index 8fc1affb77..5f0671f350 100644 --- a/.github/workflows/twisted_trunk.yml +++ b/.github/workflows/twisted_trunk.yml @@ -24,6 +24,8 @@ jobs: poetry remove twisted poetry add --extras tls git+https://github.com/twisted/twisted.git#trunk poetry install --no-interaction --extras "all test" + - name: Remove warn_unused_ignores from mypy config + run: sed '/warn_unused_ignores = True/d' -i mypy.ini - run: poetry run mypy trial: |