summaryrefslogtreecommitdiff
path: root/requirements_test.txt
diff options
context:
space:
mode:
authorPeter Kolbus <peter.kolbus@garmin.com>2021-05-12 06:40:15 -0500
committerGitHub <noreply@github.com>2021-05-12 13:40:15 +0200
commit318f1afa9384742c3dd42daa4deb7d22c0b662e0 (patch)
treeecd007b43f1b61e813b87c4926dae1382ef4b0b9 /requirements_test.txt
parent9b268ecedb1c3dbfd24f5edb0c891266f988b87a (diff)
downloadpylint-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.txt2
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