Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-flakes py-flakes: updated to 2.2.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98317a40b835
branches:  trunk
changeset: 428702:98317a40b835
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Apr 10 05:55:30 2020 +0000

description:
py-flakes: updated to 2.2.0

2.2.0:
- 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

diffstat:

 devel/py-flakes/Makefile |   4 ++--
 devel/py-flakes/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r e13ccfa4dde8 -r 98317a40b835 devel/py-flakes/Makefile
--- a/devel/py-flakes/Makefile  Fri Apr 10 05:53:47 2020 +0000
+++ b/devel/py-flakes/Makefile  Fri Apr 10 05:55:30 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2019/03/01 08:49:40 adam Exp $
+# $NetBSD: Makefile,v 1.16 2020/04/10 05:55:30 adam Exp $
 
-DISTNAME=      pyflakes-2.1.1
+DISTNAME=      pyflakes-2.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyflakes/}
diff -r e13ccfa4dde8 -r 98317a40b835 devel/py-flakes/distinfo
--- a/devel/py-flakes/distinfo  Fri Apr 10 05:53:47 2020 +0000
+++ b/devel/py-flakes/distinfo  Fri Apr 10 05:55:30 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2019/03/01 08:49:40 adam Exp $
+$NetBSD: distinfo,v 1.13 2020/04/10 05:55:30 adam Exp $
 
-SHA1 (pyflakes-2.1.1.tar.gz) = 3f176cca6809b2b45b40d203d3b8d5962e040991
-RMD160 (pyflakes-2.1.1.tar.gz) = 0b2ba1d94c7777d42d0b698fb9933751afef8f64
-SHA512 (pyflakes-2.1.1.tar.gz) = 7ebf5843b38146305c1063e070480fea8ec3b47fa1be546b1fafaeb242a688a5a001f978e7257fd71d5905b9a338b466ef17c7330725191587e9c40ba632c3f8
-Size (pyflakes-2.1.1.tar.gz) = 58072 bytes
+SHA1 (pyflakes-2.2.0.tar.gz) = e514cf251c2c17533132559737adeadde93f54e9
+RMD160 (pyflakes-2.2.0.tar.gz) = 6407c4188cec3290f251c8f8523a647c3612431a
+SHA512 (pyflakes-2.2.0.tar.gz) = 6a411efef261874c216b71bcb095412448a8cbeefdf7fa5577d4f4edd48a4a740a4433665e87e5dda2c08fd9ee3bfb7f134f56c7523e1303243edfa92b0ccb35
+Size (pyflakes-2.2.0.tar.gz) = 65307 bytes



Home | Main Index | Thread Index | Old Index