'Is there a python linter that checks if the type hint comes from the typing module?
I am looking for a python linter that checks if type hints come from the typing module.
As in, this:
def func(arg: list)-> None:
""" does something """
should be:
from typing import List
def func(arg: List)-> None:
""" does something """
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
