Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Mohab25 opened this issue Nov 8, 2022 · 2 comments
Open

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

Mohab25 opened this issue Nov 8, 2022 · 2 comments

Comments

@Mohab25
Copy link

Mohab25 commented Nov 8, 2022

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
Copy link
Owner

hey there!

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

uses: jpetrucciani/mypy-check@0.971

@Mohab25
Copy link
Author

Mohab25 commented Nov 10, 2022

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants