You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Track usage of functions decorated by @deprecated.deprecated from the
deprecated package:
> pip install deprecated
> cat test.pyimport deprecated@deprecated.deprecateddef foo(): passdef bar(): foo()foo()
> python memestra.py test.pyfoo used at test.py:7:5foo used at test.py:9:1
Track usage of functions decorated by deprecated imported from
decorator:
> cat test2.pyfrom deprecated import deprecated@deprecateddef foo(): passdef bar(): foo()foo()
> python memestra.py test2.pyfoo used at test2.py:7:5foo used at test2.py:9:1
Track usage of functions decorated by deprecated imported from
decorator and aliased:
> cat test3.pyfrom deprecated import deprecated as dp@dpdef foo(): passdef bar(): foo()foo()
> python memestra.py test3.pyfoo used at test3.py:7:5foo used at test3.py:9:1
License
We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.
This software is licensed under the BSD-3-Clause license. See the [LICENSE](LICENSE) file for details.
About
Python checker for places where deprecated functions are called.