Skip to content

A Code Climate plugin for Python's mypy static type checker

Notifications You must be signed in to change notification settings

larkinscott/codeclimate-mypy

Repository files navigation

codeclimate-mypy

codeclimate-mypy is a Code Climate engine that wraps the mypy static type checker. 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 through the beta channel in your .codeclimate.yml file:
engines:
  mypy:
    enabled: true
    channel: "beta"
  1. You're ready to analyze! Browse into your project's folder and run codeclimate analyze.

Configuration

You can configure codeclimate-mypy to use various mypy CLI options from your .codeclimate.yml config:

engines:
  mypy:
    enabled: true
    channel: "beta"
    options:
      - "--ignore-missing-imports"
      - "--strict"

See the official mypy documentation for all available options.

About

A Code Climate plugin for Python's mypy static type checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published