1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
|
.. -*- coding: utf-8 -*-
.. image:: https://github.com/gforcada/flake8-deprecated/actions/workflows/testing.yml/badge.svg?branch=main
:target: https://github.com/gforcada/flake8-deprecated/actions/workflows/testing.yml
.. image:: https://coveralls.io/repos/gforcada/flake8-deprecated/badge.svg?branch=main
:target: https://coveralls.io/github/gforcada/flake8-deprecated?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
.. _`plone.recipe.codeanalysis`: https://pypi.python.org/pypi/plone.recipe.codeanalysis
|