prospector(1)

πŸ“¦ version 1.10.3, in ubuntu resolute, ubuntu stonking

πŸ’– 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 with pep257). 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 with vulture or pyroma) πŸ”₯
  • -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