PYFLAKES3(1)
β¨ PYFLAKES3 β¨
okay bestie, so this is the manual page for pyflakes3 β that's the Python 3 source checker, and it lives in section 1 of the manual (iykyk π
). let's get into it.
πΈ NAME πΈ
pyflakes3 β a simple Python 3 source checker πβ¨
π SYNOPSIS π
pyflakes [file-or-directory ...]
π DESCRIPTION π
so pyflakes3 is literally a simple little program that checks your Python source files for errors. that's it, that's the whole job. no cap. π₯
it's similar to PyChecker in scope, but here's the plot twist: it does not execute the modules to check them. not even a little. and honestly? that's both safer and faster π¦ β the tradeoff being that it doesn't perform as many checks. pick your fighter, bestie.
and unlike PyLint, Pyflakes checks only for logical errors in programs. it does not perform any checks on style. zero. none. it is not here to read you for your spacing, it's here to catch actual problems. main character energy only. π
okay so, the arguments:
- all commandline arguments get checked, and they have to be either regular files or directories
- if you hand it a directory, every
.pyfile within it will be checked ποΈ - and if you give it no commandline arguments at all? it just reads data from standard input. comfy. π«Ά
π₯ OUTPUT π₯
here's where stuff goes, and it matters, so listen up:
- found warnings β the ones like unused imports, undefined variables and unnecessary reimports β get printed on standard output β¨
- found errors β the ones like compile or encoding errors β get printed on standard error π
so if you're piping things around, don't be shocked when your error messages don't show up where you expected. they went to stderr. as they should. periodt.
β EXIT STATUS β
- the exit status is
0when no warnings or errors are found π - otherwise the exit status is
1π
so like, 0 = clean, 1 = something's up. that's the vibe check right there.
π AUTHOR π
this manual page was originally written by Bastian Kleineidam <calvin@debian.org> for the Debian distribution of pyflakes β but it can be used by others too π«Ά. iconic of him honestly.
and that's the whole thing! this page is from 10/01/2007, and it's the PYFLAKES3(1) page, source and all β so go forth and let pyflakes3 tell you what's wrong with your code, bestie. slay πππ¦
π¦ where this page comes from
- debian bookworm: pyflakes3 2.5.0-1 Β· MIT
- debian trixie: pyflakes3 3.2.0-3 Β· MIT
- ubuntu jammy: pyflakes3 2.4.0-2 Β· MIT
- ubuntu noble: pyflakes3 3.2.0-1 Β· MIT
- ubuntu questing: pyflakes3 3.2.0-3
- ubuntu resolute: pyflakes3 3.4.0-1 Β· MIT
- ubuntu stonking: pyflakes3 3.4.0-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms