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

Python 3.7 support

Open revmischa opened this issue 5 years ago • 6 comments

3.7 has been out

https://travis-ci.org/ambv/flake8-mypy/jobs/397937231 builds fail

/home/travis/build/ambv/flake8-mypy/tests/test_mypy.py:30:1: T499 mypy: error: failed to find a Python executable matching version (3, 6), perhaps try --python-executable, or --no-site-packages?

I also get this same error when running my own tests on travis xenial with 3.7:

 FLAKE8-check(ignoring E402 E305 E501 I201 I101 I100 D204 D101 E722 D401 D413 D300 D106) 
[gw0] linux -- Python 3.7.0 /home/travis/virtualenv/python3.7.0/bin/python
/home/travis/build/jetbridge/backend/jetbridge/jbflask.py:1:1: T499 usage: mypy [-h] [-v] [-V] [more options; see below]
/home/travis/build/jetbridge/backend/jetbridge/jbflask.py:2:1: T499             [-m MODULE] [-p PACKAGE] [-c PROGRAM_TEXT] [files ...]
/home/travis/build/jetbridge/backend/jetbridge/jbflask.py:3:1: T499 mypy: error: failed to find a Python executable matching version (3, 6), perhaps try --python-executable, or --no-site-packages?

revmischa avatar Oct 16 '18 15:10 revmischa

I'm running into the same issue with vscode and simple linting.

eedwards-sk avatar Oct 17 '18 15:10 eedwards-sk

Try https://github.com/ambv/flake8-mypy/pull/22

revmischa avatar Oct 17 '18 15:10 revmischa

I guess this is now fixed on master! What about a new version @ambv ?

MRigal avatar Jan 04 '19 17:01 MRigal

new release would be nice

revmischa avatar Jan 04 '19 17:01 revmischa

You can't trigger a new release @revmischa ? Only @ambv can do that?

It's really annoying that it's not possible to use it on Python 3.7 for example...

MRigal avatar May 02 '19 14:05 MRigal

I can't, sorry I'm using flake8-mypy = {ref = "27f1888d7e6766d1b4357cb7a2ecede4bc95b281",git = "https://github.com/jetbridge/flake8-mypy.git"}

revmischa avatar May 02 '19 15:05 revmischa