Skip to content

Commit

Permalink
IMPROVEMENT: use sasanquaneuf/mypy-github-action in mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Nov 17, 2024
1 parent e2e86dd commit 2b9768b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
run: |
python -m pip install -U mypy
- name: lint the code with mypy
uses: tsuyoshicho/action-mypy@v4
- name: Lint the code with mypy
uses: sasanquaneuf/mypy-github-action@releases/v1.3
with:
github_token: ${{ secrets.github_token }}
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].
reporter: github-pr-review
checkName: 'mypy' # NOTE: this needs to be the same as the job name
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,4 @@ strict_equality = true
warn_unused_configs = true

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

0 comments on commit 2b9768b

Please sign in to comment.