Skip to content

Remove previous python2 related code #288

Open
@carlio

Description

@carlio

There are a few Python 2vs3 related compatability statements that can be removed now that pylint_django simply doesn't support python2, so just to clean up, remove things like https://github.com/PyCQA/pylint-django/blob/master/pylint_django/utils.py#L11 and any utf-8 encoding declarations.

As Django removed their python2 compatability APIs, https://docs.djangoproject.com/en/3.1/releases/3.0/#removed-private-python-2-compatibility-apis this would seem to make sense for pylint-django too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions