AptLynx

Command-line tool

flake8

brew/flake8

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Lint your Python code for style and logical errors

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

pipx install flake8

macOS

brew install flake8
pipx install flake8

Linux

pipx install flake8

Lint a file or directory recursively

flake8 path/to/file_or_directory

Lint a file or directory recursively and show the line on which each error occurred

flake8 --show-source path/to/file_or_directory

Lint a file or directory recursively and ignore a list of rules. (All available rules can be found at <https://www.flake8rules.com/>)

flake8 --ignore rule1,rule2,... path/to/file_or_directory

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents