martinezga / boilerplate-flask-api

Basic Flask Boilerplate API REST

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

boilerplate-flask-api

pre-commit Code style: black Imports: isort

Development environment:

  • Install dependencies

    pipenv install --dev
    
  • Check code before commit:

    pipenv run black .
    pipenv run flake8 .
    pipenv run isort .
    pipenv run pytest -vv
    pipenv run pytest --cov --cov-fail-under=75
    pipenv run pre-commit run --all-files
    

References:

https://google.github.io/styleguide/pyguide.html

About

Basic Flask Boilerplate API REST


Languages

Language:Python 93.0%Language:Shell 7.0%