CodeRabbit home page
Search...
⌘K
Signup
Signup
Search...
Navigation
Supported tools
Flake8
Documentation
Blog
Changelog
Discord
Get started
Introduction
Quickstart
Add CodeRabbit to your repository
Overview
Supported Git platforms
Add organizations
Set permissions
Review pull requests
Overview
Control and manage code reviews
Generate improvements
Code review troubleshooting
CodeRabbit Chat
Analyze & improve your code
Create and resolve issues
Integrate issue tracking
Issue Chat
Create issues
Linked Issues
IDE extensions
Review local changes
Install the VSCode extension
Use the VSCode extension
Use with self-hosted CodeRabbit
Configure the VSCode extension
Uninstall the VSCode extension
Configure
Overview
Organization preferences
Repository preferences
Add a configuration file
Initial configuration guide
Knowledge base
Integrate MCP servers
Review instructions
Linters & security analysis tools
Manage your account
Manage your subscription
Role based access
Generate reports
Overview
Schedule reports
Generate reports on demand
Customize reports
Best practices
Setup best practices
Code review best practices
Reference
CodeRabbit API
Code review commands
Configuration reference
Configuration file template
Supported tools
List of supported tools
actionlint
Biome
Brakeman
Buf
Checkmake
Checkov
CircleCI
Clippy
Cppcheck
detekt
Dotenv Linter
ESLint
Flake8
Gitleaks
golangci-lint
Hadolint
HTMLHint
LanguageTool
Luacheck
markdownlint
OSV-Scanner
Oxlint
PHPCS
PHPMD
PHPStan
Pipeline Failure Remediation
PMD
Prisma Lint
Pylint
Regal
RuboCop
Ruff
Semgrep
ShellCheck
Shopify CLI
SQLFluff
SwiftLint
Caching
Resources
Get support
Self-host CodeRabbit
Why CodeRabbit?
FAQs
Early Access Program
Future development
On this page
Supported Files
Configuration
Features
Links
Supported tools
Flake8
CodeRabbit’s guide to Flake8.
Flake8
is a Python linting utility that wraps PyFlakes, pycodestyle, and Mccabe to check your Python or Jupiter Notebook code for style and logical errors.
Supported Files
Flake8 will run on files with the following extensions:
*.py
*.ipynb
(using nbqa)
Configuration
Flake8 supports the following config files:
.flake8
CodeRabbit will not run Flake8 if no config file is found.
Features
Flake8 can detect many issues such as:
Style violations (PEP 8)
Logical errors and unused imports
Code complexity issues
Syntax errors
And many more
Links
Flake8 Official Website
Flake8 GitHub Repository
Flake8 Documentation
Flake8 Configuration
nbqa Documentation
ESLint
Gitleaks
Assistant
Responses are generated using AI and may contain mistakes.