Skip to main content
Flake8

Review Python with Hound

Scott avatar
Written by Scott
Updated over a week ago

Hound uses Flake8 (v3.6.0).

To enable Python style checking simply add the following to your .hound.yml

flake8:
  enabled: true

To change the way Flake8 is configured, create a .ini file with your custom configuration and reference the file in .hound.yml like:

flake8:
  enabled: true
  config_file: .flake8

Note: Flake8 does not document the exact behavior of multi-line statements in exclude: option in the .ini file. In the spirit of consistency, HoundCI requires that each line in the exclude: list must be comma delimited.

Did this answer your question?