sigmavirus24 / codeclimate-pylint

CodeClimate Engine for pylint

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maintainability

Code Climate Pylint Engine

codeclimate-pylint is a Code Climate engine that wraps the Pylint source code analyzer. You can run it on your command line using the Code Climate CLI, or on our hosted analysis platform.

Installation

  1. If you haven't already, install the Code Climate CLI.
  2. Enable the engine in your .codeclimate.yml file:
engines:
  pylint:
    enabled: true
  1. You're ready to analyze! Browse into your project's folder and run codeclimate analyze.

Configuration

You can configure which files to be analyzed in your .codeclimate.yml file.

Other configurations can be made through a .pylintrc file. More information can be found on Pylint's documentation

PYTHONPATH can be modified by setting the PYTHONPATH configuration variable:

engines:
  pylint:
    enabled: true
    PYTHONPATH:
      - src

This adds the src directory to PYTHONPATH before running pylint. Relative paths are properly resolved to the current directory.

Plugin activation can also be made in .codeclimate.yml:

engines:
  pylint:
    enabled: true
    plugins:
      - django

Currently the following plugins are supported:

We welcome PRs adding support for other plugins.

Need help?

For help with Pylint, check out their documentation.

If you're running into a Code Climate issue, first check out this project's GitHub Issues, as your question may have already been covered. If not, go ahead and open a support ticket with us.

About

CodeClimate Engine for pylint

License:MIT License


Languages

Language:Python 90.6%Language:Dockerfile 9.4%