Skip to content

khorovodovod/openpyxl-stubs

 
 

Repository files navigation

PyPI version Code on Github Code style: black GitHub last commit

openpyxl-stubs

Add types for openpyxl for mypy.

Installation

$ pip install openpyxl-stubs

Usage

Mypy will automatically use the type annotations in this package, once it is installed. You just need to annotate your code:

from typing import Optional
from flask_httpauth import HTTPAuth, Authorization


def foo(bar: HTTPAuth) -> Optional[Authorization]:
    return bar.get_auth()

For general hints how to use type annotations, please read Type Annotations in Python 3.8

About

Type stubs for openpyxl

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Makefile 0.2%