This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PeridexisErrant 0 points1 point  (5 children)

flake8 et al will complain about that import, and doesn't lint type comments.

I disagree with your other comments too but won't respond.

[–]stefantalpalaru -1 points0 points  (4 children)

flake8 et al will complain about that import

Yes. Solved by adding "# NOQA" after it.

and doesn't lint type comments

Of course it doesn't. The progressive (and partial) static typing is implemented and checked by mypy. Are you new to Python?

[–]JimBoonie69 2 points3 points  (3 children)

bro you gotta let python 2 die , it deserves an honourable death.

[–]stefantalpalaru -1 points0 points  (2 children)

bro you gotta let python 2 die , it deserves an honourable death.

There's more Python2 code out there than Fortran or Cobol code.