Skip to main content

MyPy plugin for the "databind" module.

Project description

databind.mypy

MyPy plugin for static type validation when using the databind.core package.

Todo

  • Assignments using field() on @datamodels is not yet recognized as valid by Mypy
  • PR Mypy to make mypy.plugins.dataclasses customizable for this use case

Getting started

Install the databind.mypy package from PyPI and register it as a MyPy plugin.

# mypy.ini
[mypy]
plugins = databind.mypy

Copyright © 2020 Niklas Rosenstein

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

databind.mypy-0.0.1.tar.gz (6.1 kB view hashes)

Uploaded Source

Built Distribution

databind.mypy-0.0.1-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page