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

Commit ce6ecdd

Browse files
author
David Robertson
committed
Allow unused ignores in "bleeding edge" CI
Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574.
1 parent 78b99de commit ce6ecdd

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/latest_deps.yml

+2
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ jobs:
3838
# `pip install matrix-synapse[all]` as closely as possible.
3939
- run: poetry update --no-dev
4040
- run: poetry run pip list > after.txt && (diff -u before.txt after.txt || true)
41+
- name: Remove warn_unused_ignores from mypy config
42+
run: sed '/warn_unused_ignores = True/d' -i mypy.ini
4143
- run: poetry run mypy
4244
trial:
4345
runs-on: ubuntu-latest

.github/workflows/twisted_trunk.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
poetry remove twisted
2525
poetry add --extras tls git+https://github.com/twisted/twisted.git#trunk
2626
poetry install --no-interaction --extras "all test"
27+
- name: Remove warn_unused_ignores from mypy config
28+
run: sed '/warn_unused_ignores = True/d' -i mypy.ini
2729
- run: poetry run mypy
2830

2931
trial:

0 commit comments

Comments
 (0)