Pylint is a static code analysis tool for Python or Jupiter Notebooks. It checks your Python code for errors, enforces a coding standard, and looks for code smells.

Supported Files

Pylint will run on files with the following extensions:
  • *.py
  • .ipynb (using nbqa)

Configuration

Pylint supports the following config files:
  • .pylintrc
  • pylintrc
  • .pylintrc.toml
  • pylintrc.toml
CodeRabbit will not run Pylint if no config file is found.

Features

Pylint can detect many issues such as:
  • Coding standard violations (PEP8)
  • Unused variables and imports
  • Undefined variables
  • Code smells and refactoring suggestions
  • Error-prone constructs
  • And many more