summaryrefslogtreecommitdiff
path: root/ChangeLog
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 /ChangeLog
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 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 82da849a0..b4aa2906e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,10 @@ modules are added.
* Don't emit ``import-error`` if import guarded behind ``if sys.version_info >= (x, x)``
+* Fix incompatibility with Python 3.6.0 caused by ``typing.Counter`` and ``typing.NoReturn`` usage
+
+ Closes #4412
+
What's New in Pylint 2.8.2?
===========================