jpetrucciani / mypy-check

github action for python's mypy type checker tool
MIT License
33 stars 14 forks source link

--install-types fails with mypy0.990 #33

Open Mohab25 opened 1 year ago

Mohab25 commented 1 year ago

Hi, we had a pipline setup already with this action, from this morning onward we noticed our builds fail with the following exit, we didn't change anything and the only change made in the past 20 hours with this action is moving to mypy0.990 (showing relevant section):

mypy 0.990 (compiled: yes)
+ mypy --install-types --non-interactive --show-column-numbers --hide-error-context ckanext
+ tee /tmp/mypy.out
error: --install-types failed (no mypy cache directory)
+ exit_code=2
+ python /github.py /tmp/mypy.out
+ exit 2
Error: Process completed with exit code 2.

nothing fancy about how we use the action:

    - name: Lint code with mypy
      uses: jpetrucciani/mypy-check@master
      with:
        path: "ckanext"
        mypy_flags: "--install-types --non-interactive"

any help is appreciated

jpetrucciani commented 1 year ago

hey there!

does this also fail if you specify the last explicitly tagged version?

uses: jpetrucciani/mypy-check@0.971
Mohab25 commented 1 year ago

@jpetrucciani i'm very sorry about the late response, just caught up with few things, it's working with this configuration without failure uses: jpetrucciani/mypy-check@0.971