diff options
author | Peter Kolbus <peter.kolbus@garmin.com> | 2021-05-12 06:40:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-12 13:40:15 +0200 |
commit | 318f1afa9384742c3dd42daa4deb7d22c0b662e0 (patch) | |
tree | ecd007b43f1b61e813b87c4926dae1382ef4b0b9 /requirements_test.txt | |
parent | 9b268ecedb1c3dbfd24f5edb0c891266f988b87a (diff) | |
download | pylint-git-318f1afa9384742c3dd42daa4deb7d22c0b662e0.tar.gz |
Fix issues with Python 3.6.0 (#4446)
* 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.
* 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.
* Skip typing.NoReturn tests on Python < 3.6.2
typing.NoReturn was introduced in Python 3.6.2. Move the tests for
issue #4122 to a separate file and skip when Python is too old.
* Update ChangeLog and whatsnew
Diffstat (limited to 'requirements_test.txt')
-rw-r--r-- | requirements_test.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements_test.txt b/requirements_test.txt index 90c06b0c2..4b033937d 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -2,7 +2,7 @@ -r requirements_test_min.txt coveralls~=3.0 coverage~=5.5 -pre-commit~=2.12 +pre-commit~=2.12;python_full_version>="3.6.2" pyenchant~=3.2 pytest-cov~=2.11 pytest-profiling~=1.7 |