mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
Linty
This commit is contained in:
parent
359ab66a0a
commit
5cb8c1dd13
3 changed files with 18 additions and 18 deletions
|
@ -36,7 +36,7 @@ cache = Cache(config={"CACHE_TYPE": "SimpleCache", "CACHE_DEFAULT_TIMEOUT": 300}
|
|||
compress = Compress()
|
||||
|
||||
|
||||
def create_app(test_config=None):
|
||||
def create_app(test_config=None): # pylint: disable=R0914
|
||||
"""
|
||||
Create and configure the main app
|
||||
"""
|
||||
|
@ -85,7 +85,7 @@ def create_app(test_config=None):
|
|||
lib = Bundle(
|
||||
"lib/*.js", filters="jsmin", output="gen/lib.js", depends="lib/*.js"
|
||||
)
|
||||
js = Bundle(
|
||||
scripts = Bundle(
|
||||
"js/*.js", filters="jsmin", output="gen/index.js", depends="js/*.js"
|
||||
)
|
||||
styles = Bundle(
|
||||
|
@ -93,7 +93,7 @@ def create_app(test_config=None):
|
|||
)
|
||||
|
||||
assets.register("lib", lib)
|
||||
assets.register("js", js)
|
||||
assets.register("js", scripts)
|
||||
assets.register("styles", styles)
|
||||
|
||||
# Error handlers, if the error is not a HTTP error, return 500
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue