[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
f1c35eb32f
commit
99d9ebe7c5
1 changed files with 2 additions and 3 deletions
|
|
@ -524,7 +524,6 @@ class Flask(Scaffold):
|
||||||
# For one, it might be created while the server is running (e.g. during
|
# For one, it might be created while the server is running (e.g. during
|
||||||
# development). Also, Google App Engine stores static files somewhere
|
# development). Also, Google App Engine stores static files somewhere
|
||||||
|
|
||||||
|
|
||||||
if self.has_static_folder:
|
if self.has_static_folder:
|
||||||
assert (
|
assert (
|
||||||
bool(static_host) == host_matching
|
bool(static_host) == host_matching
|
||||||
|
|
@ -539,8 +538,8 @@ class Flask(Scaffold):
|
||||||
view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore # noqa: B950
|
view_func=lambda **kw: self_ref().send_static_file(**kw), # type: ignore # noqa: B950
|
||||||
)
|
)
|
||||||
|
|
||||||
#Set the name of the Click group in case someone wants to add
|
# Set the name of the Click group in case someone wants to add
|
||||||
#the app's commands to another CLI tool.
|
# the app's commands to another CLI tool.
|
||||||
self.cli.name = self.name
|
self.cli.name = self.name
|
||||||
|
|
||||||
def _is_setup_finished(self) -> bool:
|
def _is_setup_finished(self) -> bool:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue