Warns about deprecated method calls.
Project description
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
1.1 (2016-10-26)
Fix compatibility with flake8 3. [gforcada]
Require flake8 > 3.0. [gforcada]
1.0 (2016-02-27)
Warn if using xmlconfig.file, self.loadZCML is the preferred option. [gforcada]
Avoid false reports by suffixing an opening parenthesis on all methods. [gforcada]
Add decorators from zope.interface and zope.component. [gforcada]
0.2 (2016-01-20)
Suggest to use AccessControl and zope.interface decorators. [gforcada]
0.1 (2015-09-17)
Initial release [gforcada]
Create the flake8 plugin per se. [gforcada]
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.