Skip to main content

Warns about deprecated method calls.

Project description

https://travis-ci.org/gforcada/flake8-deprecated.svg?branch=master https://coveralls.io/repos/gforcada/flake8-deprecated/badge.svg?branch=master&service=github

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 ans 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 2.7, 3.3, 3.4

  • 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

Changelog

0.1 (unreleased)

  • Initial release [gforcada]

  • Create the flake8 plugin per se. [gforcada]

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

Uploaded Source

File details

Details for the file flake8-deprecated-0.1.tar.gz.

File metadata

File hashes

Hashes for flake8-deprecated-0.1.tar.gz
Algorithm Hash digest
SHA256 655560819bfba2fabdffc0db566f4f12089609811d0983da840f9cae69132ae7
MD5 0a482aad89d4e7a9e0536ef6bd5563ea
BLAKE2b-256 f52b9d6cd819f10045dfdf4221666ce198158fe1cd9d0d4eb6317e250cc3e1fa

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