0c30487b66
2.5.0: New checks: * E117: Over-indented code blocks * W505: Maximum doc-string length only when configured with --max-doc-length Changes: * Remove support for EOL Python 2.6 and 3.3. * Add E117 error for over-indented code blocks. * Allow W605 to be silenced by # noqa and fix the position reported by W605 * Allow users to omit blank lines around one-liner definitions of classes and functions * Include the function return annotation (->) as requiring surrounding whitespace only on Python 3 * Verify that only names can follow await. Previously we allowed numbers and strings. * Add support for Python 3.7 * Fix detection of annotated argument defaults for E252 * Cprrect the position reported by W504
20 lines
530 B
Makefile
20 lines
530 B
Makefile
# $NetBSD: Makefile,v 1.6 2019/01/30 22:44:53 adam Exp $
|
|
|
|
DISTNAME= pycodestyle-2.5.0
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pycodestyle/}
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
HOMEPAGE= https://github.com/PyCQA/pycodestyle
|
|
COMMENT= Python style guide checker
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
post-install:
|
|
cd ${DESTDIR}${PREFIX}/bin && \
|
|
${MV} pycodestyle pycodestyle-${PYVERSSUFFIX} || ${TRUE}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|