Skip to main content

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


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 details)

Uploaded Source

Built Distribution

flake8_wot-0.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file flake8_wot-0.2.0.tar.gz.

File metadata

  • Download URL: flake8_wot-0.2.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for flake8_wot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 49368e90e9fb0dc04f65a441c1670e1ba631ca10458e8ebcc0382aa8215d598e
MD5 7e9388e3998ef7f7a60215b916591388
BLAKE2b-256 f4c6995e4f3f9924b632f7a1160dc1c09463271ebd081bb8e9f96cc83cb659a4

See more details on using hashes here.

File details

Details for the file flake8_wot-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: flake8_wot-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0

File hashes

Hashes for flake8_wot-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4bd4f57204fbb13c33c34849ea763519e277293ff6e46a9e9ce7a5b801fab642
MD5 a0323044410bf60c483328159b072ffc
BLAKE2b-256 76ceab28ec2c888dcd208545c22be1acc347e1bb7176536f58fdef5144bbe64a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page