GetPageSpeed Extras

python-flake8

How to install python-flake8 on Amazon Linux

Code checking using pep8 and pyflakes

License: MIT Vendor: Fedora Project http://pypi.python.org/pypi/flake8

Availability

Distro aarch64 noarch x86_64 Version
Amazon Linux 2023
Amazon Linux 2012.03
Amazon Linux 2 2.0

Description

Flake8 is a wrapper around these tools: - PyFlakes - pep8 - Ned's McCabe script Flake8 runs all tools by launching the single 'flake8' script, but ignores pep8 and PyFlakes extended options and just uses defaults. It displays the warnings in a per-file, merged output. It also adds a few features: - files that contains with this header are skipped:: - lines that contains a "# NOQA" comment at the end will not issue a warning. - a Mercurial hook. - a McCabe complexity checker.

Built for Amazon Linux.

Install

python-flake8 on Amazon Linux 2

sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm
sudo dnf -y install python-flake8

Package downloads require an active GetPageSpeed subscription — one repository for python-flake8 and thousands more packages for Amazon Linux.

Subscribe — from $10/mo

Frequently asked questions

How do I install python-flake8 on Amazon Linux?

Add the GetPageSpeed repository, then install the python-flake8 package with your system package manager.

Which Amazon Linux versions is python-flake8 available for?

python-flake8 is available for Amazon Linux 2.

Subscribe