Skip to main content

Warns about deprecated method calls

Project description

https://github.com/gforcada/flake8-deprecated/actions/workflows/testing.yml/badge.svg?branch=master https://coveralls.io/repos/gforcada/flake8-deprecated/badge.svg?branch=master

Flake8 deprecations plugin

No language, library or framework ever get everything right from the very beginning. The project evolves, new features are added/changed/removed.

This means that projects relying on them must keep an eye on what’s currently best practices.

This flake8 plugin helps you keeping up with method deprecations and giving hints about what they should be replaced with.

This plugin is based on a python checker that was in plone.recipe.codeanalysis.

Install

Install with pip:

$ pip install flake8-deprecated

Requirements

  • Python 3.8, 3.9, 3.10, 3.11 and pypy3

  • flake8

TODO

  • add a way to provide more deprecations on a per user basis(?), other plugins(?)

  • add a way to ignore specific deprecations

License

GPL 2.0

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_deprecated-2.2.1.tar.gz (14.9 kB view details)

Uploaded Source

Built Distribution

flake8_deprecated-2.2.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file flake8_deprecated-2.2.1.tar.gz.

File metadata

  • Download URL: flake8_deprecated-2.2.1.tar.gz
  • Upload date:
  • Size: 14.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.18

File hashes

Hashes for flake8_deprecated-2.2.1.tar.gz
Algorithm Hash digest
SHA256 ee96ca001d1ca0561fa8e46f23e2d2460b18a86696373cab644e102ae0ff2aa2
MD5 cbea6ac021ce4f3dd2a1e062d49ef020
BLAKE2b-256 344360397d1924f29c79dd78f7e077640a815ddaa1a41c074774ed5a70f847f2

See more details on using hashes here.

File details

Details for the file flake8_deprecated-2.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for flake8_deprecated-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3819ed2badb68631593312edb9c4881d974b995d96a4427566ddb1593a4c8fea
MD5 ad8ea37778899a4c873a24076a01fe5a
BLAKE2b-256 a99b2c7e2f1ae49d8c8ed2ee8cddc5bac21aa3925372b6f06d3a1a81064aca1a

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