贡献
Contributing Guide⚓︎
Thank you for contributing to Flask OpenAPI3.
Before submitting pr, you need to complete the following steps:
-
Install requirements
1pip install -U flask pydantic -
Running the tests
1 2 3
set pythonpath=. # or export pythonpath=. pytest tests -
Running the flake8
1flake8 flask_openapi3 tests examples -
Running the mypy
1mypy flask_openapi3 -
Building the docs
Serve the live docs with Material for MkDocs, and make sure it's correct.
1mkdocs serve