Skip to content

Commit 4242566

Browse files
authored
Merge pull request #1 from kartenmacherei/multiple-targets-for-mypy
New version of mypy action
2 parents 4078351 + 9769a44 commit 4242566

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,6 @@ inputs:
55
description: "Should the action fail if errors are found? [default: true]"
66
required: false
77
default: "true"
8-
mypy_target:
9-
description: "Source directory for mypy linting"
10-
required: false
11-
default: "src"
128
runs:
139
using: "composite"
1410
steps:
@@ -40,9 +36,9 @@ runs:
4036

4137
- name: mypy
4238
if: steps.changes.outputs.addedOrModifiedPython == 'true'
43-
uses: tsuyoshicho/action-mypy@v3.11.0
39+
uses: tsuyoshicho/action-mypy@v3.13.0
4440
with:
45-
target: ${{ inputs.mypy_target }}
41+
target: ${{ steps.changes.outputs.addedOrModifiedPython_files }}
4642
reporter: ${{ steps.reporter-check.outputs.reporter }}
4743

4844
- name: pylint

0 commit comments

Comments
 (0)