Grey Li
|
5d11a3d105
|
Set default encoding to UTF-8 for load_dotenv
|
2021-03-10 21:40:29 +08:00 |
|
David Lord
|
f2a8087cf5
|
deprecate passing script_info to factory
|
2020-04-07 15:54:36 -07:00 |
|
David Lord
|
67bb43b738
|
apply pyupgrade
|
2020-04-04 12:10:00 -07:00 |
|
David Lord
|
e66fe2e8e7
|
apply reorder-python-imports pre-commit config
|
2019-06-01 09:07:20 -07:00 |
|
Jon S. Stumpf
|
4dc9c68d19
|
address flake8 issues
|
2019-06-01 06:31:35 -07:00 |
|
David Baumgold
|
85ce588b3b
|
Reformat with black
https://github.com/python/black
|
2019-05-06 16:28:58 -04:00 |
|
David Lord
|
042948a4ad
|
rewrite cli errors
consistent order for arguments to load functions
refactor find_app_by_string to flow better
more cli loader tests
|
2017-10-10 07:04:53 -07:00 |
|
David Lord
|
f0101de17b
|
load env vars using python-dotenv
|
2017-07-16 13:37:51 -07:00 |
|
David Lord
|
b4505e53a5
|
allow local packages in FLASK_APP
don't require .py extension in FLASK_APP
add tests for nested package loading
parametrize cli loading tests
|
2017-07-14 19:49:05 -07:00 |
|
Miguel Grinberg
|
ce78369f37
|
Import app from wsgi.py or app.py if FLASK_APP is not defined
Fixes #2376
|
2017-06-15 11:27:50 -07:00 |
|
Hendrik Makait
|
e5dff166de
|
Handle app factory with arguments in FLASK_APP
|
2017-05-25 10:11:42 -07:00 |
|
Paul Brown
|
74a0eee5a1
|
prevent NoAppException when ImportError occurs within imported module
|
2016-12-30 22:45:53 +01:00 |
|
Jannis Leidel
|
9c4a73013c
|
Forward ported CLI tests from Flask-CLI and fixed a bug with the CLI's name. (#1806)
* Forward port the CLI tests from Flask-CLI.
* Make sure the parameter passed to the CLI's AppGroup is the app's name, not the app itself.
|
2016-05-16 19:36:55 +02:00 |
|
Markus Unterwaditzer
|
5e8c3488df
|
Remove more test_apps
|
2014-09-11 22:09:52 +02:00 |
|
Markus Unterwaditzer
|
8bbc73bd3b
|
Remove fake extensions from test_apps
|
2014-09-11 22:09:51 +02:00 |
|
Markus Unterwaditzer
|
cb6ad78963
|
Remove obsolete apps
|
2014-09-11 22:09:51 +02:00 |
|
Markus Unterwaditzer
|
1c40e7ad49
|
Tests pass now.
|
2014-09-11 22:09:50 +02:00 |
|
Markus Unterwaditzer
|
0c4f17008d
|
Move tests
|
2014-09-11 22:09:50 +02:00 |
|