Skip to main content

Warns about deprecated method calls

Project description

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

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for flake8_deprecated-2.3.0.tar.gz
Algorithm Hash digest
SHA256 84cdb63f735ba976d41b263eac6cbee65bfab211f8748725d4e9dd95017dd1a7
MD5 4b8766674aa7889cf34a1e13acad10dc
BLAKE2b-256 d82f34a9efbbc327c45601744155d39feebedd3554af91879f43947f7725b95e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for flake8_deprecated-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ba8beef9cae149cad79bb4898aef6137876dea1f462548d8583a91f864ff2c8d
MD5 21ad0a4cc88d499d7e69dd77fac77eb7
BLAKE2b-256 554afd74e03533a82975ae402fb7d82523fce42a71952a986a60bc4721dc3e11

See more details on using hashes here.

Supported by

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