A plugin to check using deprecated typing syntax.
- Clone this repo
git clone https://github.com/Shawnice/flake8_deprecated.git
- Run the following command
python setup.py install
Code | Error Message |
---|---|
T100 | T100 found deprecated typing usage |
import typing
foo = list[int] # OK
foo = typing.List[int] # Error: T100 found deprecated typing usage