mypy icon indicating copy to clipboard operation
mypy copied to clipboard

Can't specify single dir to run mypy

Open fbrodrigorezino opened this issue 2 years ago • 0 comments

Bug Report

I have a folder on my project with some python files, when I try to specify mypy to run against it, it returns the message:

There are no .py[i] files in directory 'freshbuilds/slack_integration'

And yes I have files in there:

❯ ls -a freshbuilds/slack_integration | grep .py drwxr-xr-x - rodrigo.rezino 29 Jun 16:54 .mypy_cache .rw-r--r-- 0 rodrigo.rezino 29 Jun 14:27 init.py drwxr-xr-x - rodrigo.rezino 29 Jun 16:43 pycache .rw-r--r-- 1.1k rodrigo.rezino 29 Jun 15:40 azure_pipelines_info.py .rw-r--r-- 1.1k rodrigo.rezino 29 Jun 15:06 github_info.py .rw-r--r-- 13k rodrigo.rezino 29 Jun 16:43 slack_azure.py .rw-r--r-- 518 rodrigo.rezino 29 Jun 14:53 slack_constants.py .rw-r--r-- 514 rodrigo.rezino 29 Jun 16:43 slack_content.py

Don't know what is happening, it works if I point to a single file.

Mypy Version 1.4.1 (compiled: yes)

fbrodrigorezino avatar Jun 29 '23 14:06 fbrodrigorezino