A Grunt plugin to lint Python projects using flake8, which combines PyFlakes, PEP8, and McCabe's cyclomatic complexity checks. Version 0.1.3, last released in 2014, with no active development. It wraps flake8 as a Grunt task, allowing project-level configuration overrides. Alternatives include direct flake8 invocation or other Python linters.
npm install grunt-flake8No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configures a flake8 Grunt task to lint Python files with custom options.
Use direct flake8 invocation or switch to modern Python linting tools.
Activate the virtual environment before running grunt.
Check flake8 documentation for supported options and test with --verbose.
Ensure grunt-flake8 is installed and run npm install grunt-flake8 --save-dev, then add grunt.loadNpmTasks('grunt-flake8') to Gruntfile.Install flake8 via pip: pip install flake8, and ensure the virtual environment is activated.
Set options.force: true to continue despite errors, or fix the lint issues.