A CLI tool for painless integration of mypy with an existing Python project. When you run it for the first time, it will remember all types of errors that you already have in the project (generate “baseline”). All consecutive runs will ignore these errors and report only the ones that you introduced after that.

Features

  • No mypy patching or dirty magic. The tool works exclusively with the stdout of mypy
  • Can detect exactly what errors were introduced and what errors were resolved, even if they are in the same file
  • Baseline is human-readable, and diffs are informative. The reviewers of your PR will know exactly what errors you resolve and what errors you introduced
  • Track the progress you make with git-based history of changes and burndown chart of resolved type violations
  • Ignore specific error messages (using regular expressions) and error categories, so that buggy mypy plugins don’t bother you with false-positives
  • Fast and simple

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow mypy-baseline

mypy-baseline Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of mypy-baseline!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Command Line Tools

Registered

2024-11-27