Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with Python 3.6.0 #4446

Merged
merged 4 commits into from
May 12, 2021
Merged

Commits on May 12, 2021

  1. tox: Enable testing python 3.6.0

    The requirements_test.txt includes black, pre-commit, and pyupgrade
    which are not compatible with Python 3.6.0. Add python_full_version
    markers so that `tox -e py36` works with 3.6.0.
    pkolbus committed May 12, 2021
    Configuration menu
    Copy the full SHA
    744ade6 View commit details
    Browse the repository at this point in the history
  2. Fix typing.Counter import for Python 3.6.0

    typing.Counter was added in Python 3.6.1. In the strings checker,
    guard the import with TYPE_CHECKING and use a type annotation comment
    to fix usage with Python 3.6.0.
    pkolbus committed May 12, 2021
    Configuration menu
    Copy the full SHA
    419c91f View commit details
    Browse the repository at this point in the history
  3. Skip typing.NoReturn tests on Python < 3.6.2

    typing.NoReturn was introduced in Python 3.6.2. Move the tests for
    issue pylint-dev#4122 to a separate file and skip when Python is too old.
    
    Co-authored-by: Marc Mueller <[email protected]>
    pkolbus and cdce8p committed May 12, 2021
    Configuration menu
    Copy the full SHA
    644b3ba View commit details
    Browse the repository at this point in the history
  4. Update ChangeLog and whatsnew

    pkolbus committed May 12, 2021
    Configuration menu
    Copy the full SHA
    d6e5e89 View commit details
    Browse the repository at this point in the history