PYTHON3-PYFLAKES(1)

πŸ“¦ version 2.4.0, in epel 9

✨ PYTHON3-PYFLAKES ✨

okay so bestie, you're looking at the python3-pyflakes manual page (section 1 of the manual, iykyk) and honestly? it's giving "simple but iconic." let's get into it πŸ’…


🌸 NAME 🌸

python3-pyflakes β€” your fave simple Python 3 source checker, no cap 🐍✨


πŸŽ€ SYNOPSIS πŸŽ€

python3-pyflakes [file-or-directory ...]

πŸ¦‹ DESCRIPTION πŸ¦‹

so python3-pyflakes is literally just a simple little program that checks your Python source files for errors. that's it, that's the vibe 🫢

it's similar to PyChecker in scope, but here's the plot twist: it does not execute the modules to check them. the way that's both safer and faster β€” though lowkey it doesn't perform as many checks. tradeoffs, bestie 😭

and unlike PyLint, pyflakes checks only for logical errors in programs. it does not perform any checks on style. zero fashion police energy here, it's strictly logic βœ‹

all commandline arguments get checked, and they have to be either regular files or directories. if you hand it a directory, every .py file within will be checked β€” she's thorough πŸ’–

when no commandline arguments are given, data will be read from standard input. stdin main character energy ✨


⭐ OUTPUT ⭐

found warnings β€” including unused imports, undefined variables and unnecessary reimports β€” are printed on standard output πŸ‘‘

found errors β€” including compile or encoding errors β€” are printed on standard error πŸ’€

know which stream is which, bestie, it matters πŸ”₯


πŸ’œ EXIT STATUS πŸ’œ

the exit status is 0 when no warnings or errors are found. otherwise the exit status is 1. simple as that, periodt πŸ’…


🌈 AUTHOR 🌈

this manual page was originally written by Bastian Kleineidam <calvin@debian.org> for the Debian distribution of pyflakes (but can be used by others). we stan a generous king πŸ‘‘πŸ«Ά


okay that's the whole page, no notes πŸŽ€ this was PYTHON3-PYFLAKES(1), dated 10/01/2007 β€” yeah she's a vintage icon, and she still slays πŸ’–βœ¨

πŸ“¦ where this page comes from