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