29 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
29 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION |
30 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
30 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION |
31 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
31 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
32 """ |
32 """ |
33 |
33 |
34 __version__ = '2.0.0+' |
34 __version__ = '2.1.0+' |
35 |
35 |
36 """ Changes |
36 """ Changes |
|
37 2.1.0 (2019-01-23) |
|
38 |
|
39 - Allow intentional assignment to variables named ``_`` |
|
40 - Recognize ``__module__`` as a valid name in class scope |
|
41 - ``pyflakes.checker.Checker`` supports checking of partial ``ast`` trees |
|
42 - Detect assign-before-use for local variables which shadow builtin names |
|
43 - Detect invalid ``print`` syntax using ``>>`` operator |
|
44 - Treat ``async for`` the same as a ``for`` loop for introducing variables |
|
45 - Add detection for list concatenation in ``__all__`` |
|
46 - Exempt ``@typing.overload`` from duplicate function declaration |
|
47 - Importing a submodule of an ``as``-aliased ``import``-import is marked as |
|
48 used |
|
49 - Report undefined names from ``__all__`` as possibly coming from a ``*`` |
|
50 import |
|
51 - Add support for changes in Python 3.8-dev |
|
52 - Add support for PEP 563 (``from __future__ import annotations``) |
|
53 - Include Python version and platform information in ``pyflakes --version`` |
|
54 - Recognize ``__annotations__`` as a valid magic global in Python 3.6+ |
|
55 - Mark names used in PEP 484 ``# type: ...`` comments as used |
|
56 - Add check for use of ``is`` operator with ``str``, ``bytes``, and ``int`` |
|
57 literals |
|
58 |
37 2.0.0 (2018-05-20) |
59 2.0.0 (2018-05-20) |
38 - Drop support for EOL Python <2.7 and 3.2-3.3 |
60 - Drop support for EOL Python <2.7 and 3.2-3.3 |
39 - Check for unused exception binding in `except:` block |
61 - Check for unused exception binding in `except:` block |
40 - Handle string literal type annotations |
62 - Handle string literal type annotations |
41 - Ignore redefinitions of `_`, unless originally defined by import |
63 - Ignore redefinitions of `_`, unless originally defined by import |