pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-flakes



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Apr 10 05:55:30 UTC 2020

Modified Files:
        pkgsrc/devel/py-flakes: Makefile distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/devel/py-flakes/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/py-flakes/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-flakes/Makefile
diff -u pkgsrc/devel/py-flakes/Makefile:1.15 pkgsrc/devel/py-flakes/Makefile:1.16
--- pkgsrc/devel/py-flakes/Makefile:1.15        Fri Mar  1 08:49:40 2019
+++ pkgsrc/devel/py-flakes/Makefile     Fri Apr 10 05:55:30 2020
@@ -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/}

Index: pkgsrc/devel/py-flakes/distinfo
diff -u pkgsrc/devel/py-flakes/distinfo:1.12 pkgsrc/devel/py-flakes/distinfo:1.13
--- pkgsrc/devel/py-flakes/distinfo:1.12        Fri Mar  1 08:49:40 2019
+++ pkgsrc/devel/py-flakes/distinfo     Fri Apr 10 05:55:30 2020
@@ -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