Skip to content

Commit

Permalink
Merge pull request #26 from codecov/gio/extend-mypy-workflow
Browse files Browse the repository at this point in the history
Update mypy.yml
  • Loading branch information
giovanni-guidini authored Jun 4, 2024
2 parents ac8225f + 40a9360 commit 00043f8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Patch typing check

on:
workflow_call:
inputs:
extra_config:
type: string
required: false
default: ''
description: 'Extra configuration for mypy'

jobs:
static-type-check:
Expand All @@ -21,4 +27,4 @@ jobs:
**/*.py
- name: Run if any of the listed files above is changed
if: steps.changed-py-files.outputs.any_changed == 'true'
run: mypy ${{ steps.changed-py-files.outputs.all_changed_files }} --ignore-missing-imports
run: mypy ${{ steps.changed-py-files.outputs.all_changed_files }} --ignore-missing-imports ${{ inputs.extra_config }}

0 comments on commit 00043f8

Please sign in to comment.