prospector(1)
π prospector β the manual, but make it a group chat π
okay bestie, so this is the manual page for prospector (section 1, system commands, iykyk) and honestly? it's giving main character energy for your Python codebase. let's get into it π¦
β¨ NAME β¨
prospector β a static Python code analyzer. that's it, that's the vibe. she looks at your code without running it and tells you the truth π
πΈ SYNOPSIS πΈ
$ prospector
$ prospector <path/to/project>
$ prospector <path/to/module.py> <path/to/another/module.py>
literally just run her. no args, a whole project, or a couple of specific files β she's flexible like that π«Ά
π DESCRIPTION π
Prospector analyzes Python source files and puts out information about coding errors, potential problems, convention violations and unnecessary complexity. she gives you one uniform and flexible interface to a whole squad of tools for static Python code checking. one command, many opinions, all of them useful π
By default, Prospector uses the following tools:
- Dodgy
- McCabe (a Flake8 extension)
- Pydocstyle (successor of the tool
pep257) - Pycodestyle (successor of the tool
pep8) - Pep8-naming (a Flake8 extension)
- Pyflakes
- Pylint
She also auto detects libraries a project uses, so she can adapt to them β currently Celery, Django and Flask are supported individually. Additionally, Vulture and Pyroma could be employed for testing.
Prospector could be adjusted very detailed to personal coding styles through profiles. for comprehensive information on this application, please see: /usr/share/doc/prospector/html/index.html π
π OPTIONS π
-s,--strictness <veryhigh,high,medium,low,verylow>β switch reporting level (default:medium). pick how much she's gonna side-eye you π-D,--doc-warningsβ include warnings about documentation (run withpep257). yes she WILL read your docstrings, bestie π-o,--output-format <emacs,vscode,grouped,json,pylint,text,xunit,yaml>β switch output format (default:grouped). choose your aesthetic β¨-w,--with-tool <tools>β a tool or a list of tools to run in addition to the default tools (use this to run withvultureorpyroma) π₯-P,--profile <profile>β one or more profiles to be used (configuration files in YAML format) π§--helpβ show a full list of command line options and flags. the ultimate "wait what else can she do" button π
π SEE ALSO π
dodgy(1), pydocstyle(1), pep8(1), pyflakes(1), pylint(1), vulture(1), pyroma(1) β the whole friend group fr fr π«Ά
π AUTHORS π
Prospector is a spinoff from Landscape.io, written by:
- Carl Crowder
<emailme@carlcrowder.com> - Jeff Quast
<contact@jeffquast.com> - Jason Simeone
<jay@classless.net> - Sam Spilsbury
<smspillaz@gmail.com>
okay that's the whole page, no cap. now go run her on your code and let her cook π
sign-off szn: this was version 1.10.3, dated 08 March 2025, and it's still prospector(1) at the end of the day. periodt. ππΈβ¨
π¦ where this page comes from
- ubuntu resolute: prospector 1.10.3-1ubuntu1 Β· GPL-2.0-only
- ubuntu stonking: prospector 1.10.3-1ubuntu1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms