eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/__init__.py

branch
maintenance
changeset 7642
72721823d453
parent 7639
422fd05e9c91
child 7923
91e843545d9a
diff -r f7cb83647621 -r 72721823d453 eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/__init__.py
--- a/eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/__init__.py	Sun May 31 17:26:46 2020 +0200
+++ b/eric6/Plugins/CheckerPlugins/SyntaxChecker/pyflakes/__init__.py	Sat Jul 04 11:45:34 2020 +0200
@@ -31,13 +31,40 @@
 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 """
 
-__version__ = '2.1.1+'
+__version__ = '2.2.0'
 
 """
 pyflakes repository date: 2020-02-03.
 """
 
 """ Changes
+2.2.0 (2020-04-08)
+
+- Include column information in error messages
+- Fix ``@overload`` detection with other decorators and in non-global scopes
+- Fix return-type annotation being a class member
+- Fix assignment to ``_`` in doctests with existing ``_`` name
+- Namespace attributes which are attached to ast nodes with ``_pyflakes_`` to
+  avoid conflicts with other libraries (notably bandit)
+- Add check for f-strings without placeholders
+- Add check for unused/extra/invalid ``'string literal'.format(...)``
+- Add check for unused/extra/invalid ``'string literal % ...``
+- Improve python shebang detection
+- Allow type ignore to be followed by a code ``# type: ignore[attr-defined]``
+- Add support for assignment expressions (PEP 572)
+- Support ``@overload`` detection from ``typing_extensions`` as well
+- Fix ``@overload`` detection for async functions
+- Allow ``continue`` inside ``finally`` in python 3.8+
+- Fix handling of annotations in positional-only arguments
+- Make pyflakes more resistant to future syntax additions
+- Fix false positives in partially quoted type annotations
+- Warn about ``is`` comparison to tuples
+- Fix ``Checker`` usage with async function subtrees
+- Add check for ``if`` of non-empty tuple
+- Switch from ``optparse`` to ``argparse``
+- Fix false positives in partially quoted type annotations in unusual contexts
+- Be more cautious when identifying ``Literal`` type expressions
+
 2.1.1 (2019-02-28)
 - Fix reported line number for type comment errors
 - Fix typing.overload check to only check imported names
@@ -252,6 +279,3 @@
   - Add reporting for some types of import shadowing.
   - Improve reporting of unbound locals
 """
-
-#
-# eflag: noqa = M702

eric ide

mercurial