Open danieleades opened 3 years ago
I was able to fix this by using path: "*.py"
like so:
jobs:
python:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: MyPy Check
uses: jpetrucciani/mypy-check@master
with:
path: "*.py"
If anyone else encounters this, the issue is due to the fact that the action defaults the path to '.'
which makes mypy ignore files specified in the config. I set the path to ''
and it now works as expected.
i'm using the
.mypy.ini
config file to specify which files to include when running mypy (such that I can simply run$ mypy
. I'm also using this config file to exclude particular files and directories.if i use this action without any arguments i get this error-
how should i be using this?