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
Categories
Command Line ToolsLicense
MIT LicenseFollow mypy-baseline
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of mypy-baseline!