mypy-check icon indicating copy to clipboard operation
mypy-check copied to clipboard

--install-types fails with mypy0.990

Open Mohab25 opened this issue 1 year ago • 2 comments

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

Mohab25 avatar Nov 08 '22 21:11 Mohab25