summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-01-17 14:17:42 -0800
committerPhil Frost <indigo@bitglue.com>2019-01-23 22:09:16 -0500
commit4bc1f21df9d96b5dd1f5f3e213255b27f7104919 (patch)
treecd676c473444042ee5d5747394af2d8cc3cd86b9
parent65fdfad26e5213a8245797da3e1368daa63e2067 (diff)
downloadpyflakes-4bc1f21df9d96b5dd1f5f3e213255b27f7104919.tar.gz
Write changelog and bump version for 2.1.02.1.0
-rw-r--r--NEWS.rst22
-rw-r--r--pyflakes/__init__.py2
2 files changed, 23 insertions, 1 deletions
diff --git a/NEWS.rst b/NEWS.rst
index dd095c4..8bf9023 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -1,3 +1,25 @@
+2.1.0 (2019-01-23)
+
+- Allow intentional assignment to variables named ``_``
+- Recognize ``__module__`` as a valid name in class scope
+- ``pyflakes.checker.Checker`` supports checking of partial ``ast`` trees
+- Detect assign-before-use for local variables which shadow builtin names
+- Detect invalid ``print`` syntax using ``>>`` operator
+- Treat ``async for`` the same as a ``for`` loop for introducing variables
+- Add detection for list concatenation in ``__all__``
+- Exempt ``@typing.overload`` from duplicate function declaration
+- Importing a submodule of an ``as``-aliased ``import``-import is marked as
+ used
+- Report undefined names from ``__all__`` as possibly coming from a ``*``
+ import
+- Add support for changes in Python 3.8-dev
+- Add support for PEP 563 (``from __future__ import annotations``)
+- Include Python version and platform information in ``pyflakes --version``
+- Recognize ``__annotations__`` as a valid magic global in Python 3.6+
+- Mark names used in PEP 484 ``# type: ...`` comments as used
+- Add check for use of ``is`` operator with ``str``, ``bytes``, and ``int``
+ literals
+
2.0.0 (2018-05-20)
- Drop support for EOL Python <2.7 and 3.2-3.3
diff --git a/pyflakes/__init__.py b/pyflakes/__init__.py
index afced14..a33997d 100644
--- a/pyflakes/__init__.py
+++ b/pyflakes/__init__.py
@@ -1 +1 @@
-__version__ = '2.0.0'
+__version__ = '2.1.0'