Upstream changes: 1.6.2 (2015-02-15) Changes: Added check for breaking around a binary operator. (Issue #197, Pull #305) Bugs: Restored config_file parameter in process_options(). (Issue #380) 1.6.1 (2015-02-08) Changes: Assign variables before referenced. (Issue #287) Bugs: Exception thrown due to unassigned local_dir variable. (Issue #377) 1.6.0 (2015-02-06) News: Ian Lee <ianlee1521@gmail.com> joined the project as a maintainer. Changes: Report E731 for lambda assignment. (Issue #277) Report E704 for one-liner def instead of E701. Do not report this error in the default configuration. (Issue #277) Replace codes E111, E112 and E113 with codes E114, E115 and E116 for bad indentation of comments. (Issue #274) Report E266 instead of E265 when the block comment starts with multiple #. (Issue #270) Report E402 for import statements not at the top of the file. (Issue #264) Do not enforce whitespaces around ** operator. (Issue #292) Strip whitespace from around paths during normalization. (Issue #339 / #343) Update --format documentation. (Issue #198 / Pull Request #310) Add .tox/ to default excludes. (Issue #335) Do not report E121 or E126 in the default configuration. (Issues #256 / #316) Allow spaces around the equals sign in an annotated function. (Issue #357) Allow trailing backslash if in an inline comment. (Issue #374) If --config is used, only that configuration is processed. Otherwise, merge the user and local configurations are merged. (Issue #368 / #369) Bug fixes: Don’t crash if Checker.build_tokens_line() returns None. (Issue #306) Don’t crash if os.path.expanduser() throws an ImportError. (Issue #297) Missing space around keyword parameter equal not always reported, E251. (Issue #323) Fix false positive E711/E712/E713. (Issues #330 and #336) Do not skip physical checks if the newline is escaped. (Issue #319) Flush sys.stdout to avoid race conditions with printing. See flake8 bug: https://gitlab.com/pycqa/flake8/issues/17 for more details. (Issue #363)
20 lines
492 B
Makefile
20 lines
492 B
Makefile
# $NetBSD: Makefile,v 1.4 2015/08/23 11:26:38 wen Exp $
|
|
#
|
|
|
|
DISTNAME= pep8-1.6.2
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= http://pypi.python.org/packages/source/p/pep8/
|
|
|
|
MAINTAINER= wenheping@gmail.com
|
|
HOMEPAGE= http://github.com/jcrocholl/pep8
|
|
COMMENT= Python style guide checker
|
|
LICENSE= mit
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
do-test:
|
|
cd ${WRKSRC}; ${SETENV} ${TEST_ENV} ${PYTHONBIN} setup.py test
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|