cee8dde595
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
20 lines
531 B
Makefile
20 lines
531 B
Makefile
# $NetBSD: Makefile,v 1.16 2020/04/10 05:55:30 adam Exp $
|
|
|
|
DISTNAME= pyflakes-2.2.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyflakes/}
|
|
|
|
MAINTAINER= kamel.derouiche@gmail.com
|
|
HOMEPAGE= https://github.com/PyCQA/pyflakes
|
|
COMMENT= Passive checker of Python programs
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pyflakes pyflakes-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|