logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Validate Python Code - Flake8 Code Linter | Online Free DevTools by Hexmos

Validate Python code style with Flake8. Ensure code quality and consistency effortlessly using command-line options. Free online tool, no registration required.

flake8

Check the style and quality of Python code. More information: https://flake8.pycqa.org/en/latest/user/options.html.

  • Lint a file or directory recursively:

flake8 {{path/to/file_or_directory}}

  • Lint a file or directory recursively and show the line on which each error occurred:

flake8 --show-source {{path/to/file_or_directory}}

flake8 --ignore {{rule1,rule2,...}} {{path/to/file_or_directory}}

  • Lint a file or directory recursively but exclude files matching the given globs or substrings:

flake8 --exclude {{substring1,glob2}} {{path/to/file_or_directory}}

See Also