1
0

Fix typechecking with twisted trunk (#16121)

This commit is contained in:
David Robertson
2023-08-24 15:53:07 +01:00
committed by GitHub
parent 0538e3e2db
commit e691243e19
6 changed files with 36 additions and 36 deletions

View File

@@ -54,8 +54,8 @@ jobs:
poetry remove twisted
poetry add --extras tls git+https://github.com/twisted/twisted.git#${{ inputs.twisted_ref || '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
- 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: