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.3.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

databind.mypy-0.0.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file databind.mypy-0.0.3.tar.gz.

File metadata

  • Download URL: databind.mypy-0.0.3.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for databind.mypy-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d9a5477885dc0078c4a2bb073f6a3de465b978092055961fcb8732fdb2a4be5e
MD5 e6eeb3cba761fb7e22c3fcdd596f4ec8
BLAKE2b-256 31e659f05b0d2e0d9d7540417c1fab72b4001f57a622913ec2ea1024eb09c0f9

See more details on using hashes here.

File details

Details for the file databind.mypy-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: databind.mypy-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for databind.mypy-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f80a00fa71e5968d2ad183eda4a4b0672598c88dee7a8f9ecdeab1bafbe5b27a
MD5 be5bed12ab44a9e82892a959b4d36ab3
BLAKE2b-256 965ca2837f0678debcaee6bf644bbe6ecb069b248bfe6071048571ab864e7ba1

See more details on using hashes here.

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