tldr/pages/common/pyflakes.md

20 lines
434 B
Markdown
Raw Normal View History

# pyflakes
> Pyflakes checks Python source code files for errors.
- Check a single Python file:
`pyflakes check {{path/to/python_file}}`
- Check Python files in path:
`pyflakes checkPath {{path/to/check}}`
- Check python files in a directory recursively:
`pyflakes checkRecursive {{path/to/directory}}`
- Check all Python files found in multiple paths:
`pyflakes iterSourceCode {{path/to/check}} {{/another/path/to/check}}`