Skip to content

Commit e55256b

Browse files
committed
enable mypy
1 parent f1fb51a commit e55256b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/python_checks.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,14 +252,14 @@ jobs:
252252
cfg-file: ${{ inputs.cfg-file }}
253253
pip-installs: ${{ inputs.pip-installs }}
254254

255-
- name: Lint with mypy using disallow-untyped-def
256-
if: ${{ (matrix.python-version != env.PRERELEASE || inputs.check-prereleases == 'true') && inputs.mypy-packages != '' && matrix.python-version != '3.13.5' }}
257-
run: mypy --python-version ${{ matrix.python-version }} --disallow-untyped-defs ${{ inputs.mypy-full-packages }}
258-
259255
- name: Lint with mypy
260-
if: ${{ (matrix.python-version != env.PRERELEASE || inputs.check-prereleases == 'true') && inputs.mypy-packages != '' && matrix.python-version != '3.13.5' }}
256+
if: ${{ (matrix.python-version != env.PRERELEASE || inputs.check-prereleases == 'true') && inputs.mypy-packages != '' }}
261257
run: mypy --python-version ${{ matrix.python-version }} ${{ inputs.mypy-packages }}
262258

259+
- name: Lint with mypy using disallow-untyped-def
260+
if: ${{ (matrix.python-version != env.PRERELEASE || inputs.check-prereleases == 'true') && inputs.mypy-full-packages != '' }}
261+
run: mypy --python-version ${{ matrix.python-version }} --disallow-untyped-defs ${{ inputs.mypy-full-packages }}
262+
263263
- name: Lint with flake8
264264
if: ${{ matrix.python-version != env.PRERELEASE || inputs.check-prereleases == 'true' }}
265265
run: flake8 ${{ inputs.flake8-packages }}

0 commit comments

Comments
 (0)