Skip to content
Snippets Groups Projects
Unverified Commit ce6ecdd4 authored by David Robertson's avatar David Robertson
Browse files

Allow unused ignores in "bleeding edge" CI

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

Follow up from #12531.
Resolves #12574.
parent 78b99de7
No related branches found
No related tags found
No related merge requests found
...@@ -38,6 +38,8 @@ jobs: ...@@ -38,6 +38,8 @@ jobs:
# `pip install matrix-synapse[all]` as closely as possible. # `pip install matrix-synapse[all]` as closely as possible.
- run: poetry update --no-dev - run: poetry update --no-dev
- run: poetry run pip list > after.txt && (diff -u before.txt after.txt || true) - 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 - run: poetry run mypy
trial: trial:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
...@@ -24,6 +24,8 @@ jobs: ...@@ -24,6 +24,8 @@ jobs:
poetry remove twisted poetry remove twisted
poetry add --extras tls git+https://github.com/twisted/twisted.git#trunk poetry add --extras tls git+https://github.com/twisted/twisted.git#trunk
poetry install --no-interaction --extras "all test" 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 - run: poetry run mypy
trial: trial:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment