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
One possible solution can be to move deprecation check logic to separate Mixin and provide hooks for customization. The plugin can create new checker by using the mixin and just adding small custom pieces.
Additional context
Generalizing deprecation check logic from stdlib to be reused in plugins. Ideal candidate is e.g. pyling-django.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
stdlib checker contains checks for deprecated functions: https://github.com/PyCQA/pylint/blob/8649b721560ac33756792e405a6d7bbf7d331e57/pylint/checkers/stdlib.py#L112-L118
Unfortunately, there is no easy way how it can be simply reused to add support for deprecation checks in pylint plugins.
Describe the solution you'd like
One possible solution can be to move deprecation check logic to separate Mixin and provide hooks for customization. The plugin can create new checker by using the mixin and just adding small custom pieces.
Additional context
Generalizing deprecation check logic from stdlib to be reused in plugins. Ideal candidate is e.g. pyling-django.
The text was updated successfully, but these errors were encountered: