Skip to content

Commit 2b9768b

Browse files
committed
IMPROVEMENT: use sasanquaneuf/mypy-github-action in mypy
1 parent e2e86dd commit 2b9768b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/mypy.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
run: |
2424
python -m pip install -U mypy
2525
26-
- name: lint the code with mypy
27-
uses: tsuyoshicho/action-mypy@v4
26+
- name: Lint the code with mypy
27+
uses: sasanquaneuf/mypy-github-action@releases/v1.3
2828
with:
29-
github_token: ${{ secrets.github_token }}
30-
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
31-
reporter: github-pr-review
29+
checkName: 'mypy' # NOTE: this needs to be the same as the job name
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,4 @@ strict_equality = true
162162
warn_unused_configs = true
163163

164164
files = ["MethodicConfigurator/*.py"]
165+
exclude = ["unittests"]

0 commit comments

Comments
 (0)