types-smorest

Type Stubs for flask-smorest


Keywords
flask, flask-smorest, smorest, stubs
License
GPL-3.0
Install
pip install types-smorest==1.1.1

Documentation

types-smorest

This is a package containing type annotations for flask-smorest.

Installing:

Simply run the following in the environment in which you want to install this package:

# install types-smorest
$ python -m pip install types-smorest

or add it to your requirements file.

Developing

This is a partial stub package, only covering a part of the functions and objects available in flask-smorest. Contributions (both in adding stubs for more functions, or keeping up to date with flask-smorest itself) are welcome.

All the formatting is done using pre-commit. To use this, run the following:

# install pre-commit
$ python -m pip install pre-commit

# Set up the hooks (so pre-commit automatically runs when you do a commit)
$ cd root/directory/of/the/pulled/repository
$ pre-commit install

# This will run automatically whenever a commit is created
# To run it manually, use:
$ pre-commit run --all-files