flake8
3.9.2
  • Frequently Asked Questions
  • Glossary of Terms Used in Flake8 Documentation
  • Using Flake8
    • Invoking Flake8
    • Configuring Flake8
    • Full Listing of Options and Their Descriptions
    • Error / Violation Codes
    • Selecting and Ignoring Violations
    • Using Plugins For Fun and Profit
    • Using Version Control Hooks
    • Public Python API
  • Flake8 man page
  • Writing Plugins for Flake8
  • Exploring Flake8’s Internals
  • Release Notes and History
flake8
  • Docs »
  • Using Flake8
  • Edit on GitHub

Using Flake8¶

Flake8 can be used in many ways. A few:

  • invoked on the command-line
  • invoked via Python
  • called by Git or Mercurial on or around committing

This guide will cover all of these and the nuances for using Flake8.

Note

This portion of Flake8’s documentation does not cover installation. See the Installation section for how to install Flake8.

  • Invoking Flake8
  • Configuring Flake8
    • Configuration Locations
  • Full Listing of Options and Their Descriptions
    • Index of Options
    • Options and their Descriptions
  • Error / Violation Codes
  • Selecting and Ignoring Violations
    • Ignoring Violations with Flake8
    • Selecting Violations with Flake8
    • Selecting and Ignoring Simultaneously For Fun and Profit
  • Using Plugins For Fun and Profit
  • Using Version Control Hooks
    • Usage with the pre-commit git hooks framework
    • Built-in Hook Integration
    • Preventing Commits
    • Checking All Modified Files Currently Tracked
  • Public Python API
    • Legacy API
Next Previous

© Copyright 2016, Ian Stapleton Cordasco Revision c6e0d275.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: 3.9.2
Versions
master
latest
stable
3.9.2
3.9.1
3.9.0
3.8.4
3.8.3
3.8.2
3.8.1
3.8.0
3.7.9
3.7.8
3.7.7
3.7.6
3.7.5
3.7.4
3.7.3
3.7.2
3.7.1
3.7.0
3.6.0
3.5.0
3.4.1
3.3.0
3.2.1
3.2.0
3.1.1
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
3.0.0b1
2.6.2
2.6.0
2.5.5
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.