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@datamodel
s 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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9a5477885dc0078c4a2bb073f6a3de465b978092055961fcb8732fdb2a4be5e |
|
MD5 | e6eeb3cba761fb7e22c3fcdd596f4ec8 |
|
BLAKE2b-256 | 31e659f05b0d2e0d9d7540417c1fab72b4001f57a622913ec2ea1024eb09c0f9 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | f80a00fa71e5968d2ad183eda4a4b0672598c88dee7a8f9ecdeab1bafbe5b27a |
|
MD5 | be5bed12ab44a9e82892a959b4d36ab3 |
|
BLAKE2b-256 | 965ca2837f0678debcaee6bf644bbe6ecb069b248bfe6071048571ab864e7ba1 |