diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-09-25 10:52:28 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-09-25 10:52:28 +0200 |
commit | 5d2fbaf76f234ff572e6be84ac1252af2eeea8bb (patch) | |
tree | c31860a3312c58e99f3dd6706400ab48564febfd | |
parent | 3159b1744caee14068b4d875bb5adaa5ffbebd44 (diff) | |
download | pylint-git-5d2fbaf76f234ff572e6be84ac1252af2eeea8bb.tar.gz |
Prepare 2.4.1pylint-2.4.1
-rw-r--r-- | ChangeLog | 24 | ||||
-rw-r--r-- | pylint/__pkginfo__.py | 2 |
2 files changed, 25 insertions, 1 deletions
@@ -2,6 +2,30 @@ Pylint's ChangeLog ------------------ +What's New in Pylint 2.4.1? +=========================== + +Release date: 2019-09-25 + + +* Exempt type checking definitions defined in both clauses of a type checking guard + + Close #3127 + + +* Exempt type checking definitions inside the type check guard + + In a7f236528bb3758886b97285a56f3f9ce5b13a99 we added basic support + for emitting `used-before-assignment` if a variable was only defined + inside a type checking guard (using `TYPE_CHECKING` variable from `typing`) + Unfortunately that missed the case of using those type checking imports + inside the guard itself, which triggered spurious used-before-assignment errors. + + Close #3119 + +* Require astroid >= 2.3 to avoid any compatibility issues. + + What's New in Pylint 2.4.0? =========================== diff --git a/pylint/__pkginfo__.py b/pylint/__pkginfo__.py index a63d50fb1..1b04d3aa5 100644 --- a/pylint/__pkginfo__.py +++ b/pylint/__pkginfo__.py @@ -22,7 +22,7 @@ from os.path import join # For an official release, use dev_version = None -numversion = (2, 4, 0) +numversion = (2, 4, 1) dev_version = None version = ".".join(str(num) for num in numversion) |