add pre-commit config for flake8

This commit is contained in:
Jon S. Stumpf 2019-05-31 13:38:39 -04:00 committed by David Lord
parent b61cbf8ab4
commit 549fed29ea
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8
6 changed files with 41 additions and 6 deletions

View file

@ -93,13 +93,13 @@ To run such an application, you can use the :command:`flask` command::
$ export FLASK_APP=myapp
$ flask run
Flask will automatically detect the factory (``create_app`` or ``make_app``)
Flask will automatically detect the factory (``create_app`` or ``make_app``)
in ``myapp``. You can also pass arguments to the factory like this::
$ export FLASK_APP="myapp:create_app('dev')"
$ flask run
Then the ``create_app`` factory in ``myapp`` is called with the string
``'dev'`` as the argument. See :doc:`/cli` for more detail.