< Home - < Back

python-flake8


Information about the package, python-flake8, which is shipped with common Linux distributions. The python-flake8 package is designed for, Code checking using pep8 and pyflakes.


Package Name:

python-flake8

Summary:

Code checking using pep8 and pyflakes

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.

Architecture:

noarch

Version:

2.0

Release:

5.el6

Size:

24 k

Repository:

epel

From Repository:

Licence:

MIT



Handy Yum Commands for python-flake8


Control the python-flake8 package with the following handy commands outlined below.


Command

Description of Command

yum install python-flake8

This command will install python-flake8 on the server.

yum remove python-flake8

This command will un-install python-flake8 on the server. When you run this command, you will be asked if you are sure that you want to remove python-flake8, so you have to manually confirm that you want to do this.

yum -y remove python-flake8

This command will un-install python-flake8 on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-flake8 when using the -y flag.

yum update python-flake8

This command will update python-flake8 to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-flake8, so you have to manually confirm that you want to do this.

yum -y update python-flake8

This command will update python-flake8 to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-flake8 when using the -y flag.

yum info python-flake8

This command will show you core information about the python-flake8 package.

yum deplist python-flake8

This command will show you the dependencies for python-flake8. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.

yum check-update python-flake8

This command will check if there is an update waiting on python-flake8. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.