All apps/pycodestyle

pycodestyle

pycodestyle

A tool to check your Python code against some of the style conventions in PEP 8.

Runs as pycodestyle|macOS, Linux, Windows|pycodestyle.pycqa.org

Command form

ai-draft · 2 tasks · 10 fields

Check Python files or directories against PEP 8. Config-file options and testing options are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui pycodestyle
Check Python styleExample values, fixed in this page — nothing here reaches a terminal
Basic
Files or directories*
any
Max line length
integer
Show source
--show-source
Statistics
--statistics
TasksEach one presets the form for one job
Check files
inputsmax_line_lengthshow_sourcestatistics
Summarize errors
inputsstatisticscountselectignore
ParametersOnly these flags are editable in the form
Files or directories
path · positional 0 · repeatable
Max line length
integer
--max-line-length
Select errors
Comma-separated codes, e.g. E,W6.
string
--select
Ignore errors
Comma-separated codes, e.g. E4,W.
string
--ignore
Exclude patterns
Comma-separated patterns.
string
--exclude
Show source
boolean
--show-source
Statistics
boolean
--statistics
Print total count
boolean
--count
First occurrence only
boolean
--first
Verbose
count
-v--verbose
SourcesEvery flag above is checked against these
help
Usage: pycodestyle [options] input ... -v, --verbose print status messages, or debug with -vv -q, --quiet report only file names, or nothing with -qq --first show first occurrence of each error --exclude=patterns exclude files or directories which match these comma separated patterns (default: .sv…
help2026-10-27

raw.githubusercontent.com

Before it fills your prompt, Otty checks the installed pycodestyle against its version. A form that does not match your version is not offered.