flake8 plugin which checks use of deprecated typing.List, typing.Dict, etc.
Project description
flake8-wot
Flake8 plugin
This plugin warns if you are still importing List, Dict or Tuple (and others) from typing instead of using list, dict, tuple.
See https://www.python.org/dev/peps/pep-0585/ for more information.
Example
Running flake on a file test_wot.py with contents:
from typing import List
will generate:
test_wot.py:1:1: WOT001 don't import type List
WOT is an abbreviation of 'Warn about Old school Types'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flake8_wot-0.2.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for flake8_wot-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd4f57204fbb13c33c34849ea763519e277293ff6e46a9e9ce7a5b801fab642 |
|
MD5 | a0323044410bf60c483328159b072ffc |
|
BLAKE2b-256 | 76ceab28ec2c888dcd208545c22be1acc347e1bb7176536f58fdef5144bbe64a |