# -*- coding: ascii; tab-width: 4 -*- Info2: << Package: flake8-py%type_pkg[python] Version: 7.0.0 Revision: 1 Type: python (3.8 3.9 3.10) Description: Modular source code checker DescDetail: << Flake8 is a wrapper around these tools: PyFlakes pep8 Ned Batchelder's McCabe script Flake8 runs all the tools by launching the single flake8 script. It displays the warnings in a per-file, merged output. << Maintainer: Daniel Johnson License: BSD Homepage: https://pypi.org/project/flake8 Source: https://files.pythonhosted.org/packages/source/f/flake8/flake8-%v.tar.gz Source-Checksum: SHA256(33f96621059e65eec474169085dc92bf26e7b2d47366b70be2f67ab80dc25132) Depends: << mccabe-py%type_pkg[python] (>= 0.7.0), pycodestyle-py%type_pkg[python] (>= 2.11.0), pyflakes-py%type_pkg[python] (>= 3.2.0), python%type_pkg[python] << BuildDepends: << pytest-runner-py%type_pkg[python], setuptools-tng-py%type_pkg[python] << Conflicts: future-py%type_pkg[python] (<< 0.16.0-1) CompileScript: << %p/bin/python%type_raw[python] setup.py build << # Tests require flake8-polyfill but that requires flake8. #InfoTest: << # TestDepends: << # coverage-py%type_pkg[python], # pytest-py%type_pkg[python] # << # TestScript: PYTHONPATH=%b/build/liz LC_ALL=C %p/bin/coverage%type_raw[python] run -m pytest || exit 2 #<< InstallScript: << %p/bin/python%type_raw[python] setup.py install \ --root=%d mv %i/bin/flake8 %i/bin/flake8-py%type_pkg[python] << PostInstScript: << update-alternatives --install %p/bin/flake8 flake8 %p/bin/flake8-py%type_pkg[python] %type_pkg[python] << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove flake8 %p/bin/flake8-py%type_pkg[python] fi << DocFiles: LICENSE README.rst <<