2018-12-04 15:40:54 +03:00
|
|
|
# pyflakes
|
|
|
|
|
2018-12-04 15:45:40 +03:00
|
|
|
> Checks Python source code files for errors.
|
2019-05-15 11:37:34 +03:00
|
|
|
> Homepage: <https://pypi.org/project/pyflakes>.
|
2018-12-04 15:40:54 +03:00
|
|
|
|
2018-12-04 15:45:40 +03:00
|
|
|
- Check a single Python file:
|
2018-12-04 15:40:54 +03:00
|
|
|
|
2018-12-04 15:43:39 +03:00
|
|
|
`pyflakes check {{path/to/file}}.py`
|
2018-12-04 15:40:54 +03:00
|
|
|
|
2018-12-04 15:45:40 +03:00
|
|
|
- Check Python files in a specific directory:
|
2018-12-04 15:40:54 +03:00
|
|
|
|
2018-12-04 15:43:39 +03:00
|
|
|
`pyflakes checkPath {{path/to/directory}}`
|
2018-12-04 15:40:54 +03:00
|
|
|
|
2018-12-04 15:45:40 +03:00
|
|
|
- Check Python files in a directory recursively:
|
2018-12-04 15:40:54 +03:00
|
|
|
|
|
|
|
`pyflakes checkRecursive {{path/to/directory}}`
|
|
|
|
|
2018-12-04 15:45:40 +03:00
|
|
|
- Check all Python files found in multiple directories:
|
2018-12-04 15:40:54 +03:00
|
|
|
|
2018-12-04 15:43:39 +03:00
|
|
|
`pyflakes iterSourceCode {{path/to/directory_1}} {{path/to/directory_2}}`
|