Scroll to navigation



pylama - code audit tool for Python


pylama [-h] [--verbose] [--version] [--format {pep8, pylint}] [--select SELECT] [--sort SORT] [--linters LINTERS] [--ignore IGNORE] [--skip SKIP] [--report REPORT] [--hook] [--async] [--options OPTIONS] [--force] [--abspath] [paths [paths ...]]


-h, --help
show the help message and exit

-v, --verbose

verbose mode


show program’s version number and exit

-f {pep8, pylint}, --format {pep8, pylint}

Choose errors format (pep8, pylint).

-s SELECT, --select SELECT

Select errors and warnings. (comma-separated list)

--sort SORT

Sort result by error types. Ex. E, W, D

-l LINTERS, --linters LINTERS

Select linters. (comma-separated). Choices are pyflakes, pep8, pep257, mccabe.

-i IGNORE, --ignore IGNORE

Ignore errors and warnings. (comma-separated)

--skip SKIP

Skip files by masks (comma-separated, Ex. */

-r REPORT, --report REPORT

Send report to file [REPORT]


Install Git (Mercurial) hook.


Enable async mode. Useful for checking a lot of files. Unsupported with pylint.

-o FILE, --options FILE

Specify configuration file. Looks for pylama.ini, setup.cfg, tox.ini, or pytest.ini in the current directory.

-F, --force

Force code checking (if linter doesn’t allow)

-a, --abspath

Use absolute paths in output.


This manual page was written by ChangZhuo Chen <> for the Debian GNU/Linux system (but may be used by others).