Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
self-reg-form
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krish Moodbidri
self-reg-form
Commits
5a495b1e
Commit
5a495b1e
authored
3 years ago
by
Bo-Chun Chen
Browse files
Options
Downloads
Patches
Plain Diff
Fix pylint wrong-import-order
parent
12282057
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/__init__.py
+7
-13
7 additions, 13 deletions
app/__init__.py
run.py
+7
-3
7 additions, 3 deletions
run.py
tasks.py
+3
-2
3 additions, 2 deletions
tasks.py
with
17 additions
and
18 deletions
app/__init__.py
+
7
−
13
View file @
5a495b1e
# app/__init__.py
#
local
imports
#
standard
imports
from
__future__
import
print_function
import
vars
import
messages
# third-party imports
import
re
import
sys
import
uuid
from
flask
import
(
Flask
,
request
,
render_template
,
session
,
)
from
flask_cors
import
CORS
# third-party imports
from
flask
import
Flask
,
render_template
,
request
,
session
from
flask_bootstrap
import
Bootstrap
import
sys
import
re
from
flask_cors
import
CORS
# local imports
import
messages
...
...
This diff is collapsed.
Click to expand it.
run.py
+
7
−
3
View file @
5a495b1e
# run.py
# standard imports
import
os
import
time
import
tasks
import
vars
# third-party imports
from
flask
import
session
from
flask_socketio
import
SocketIO
,
join_room
from
app
import
create_app
from
gevent
import
monkey
# local imports
import
tasks
import
vars
from
app
import
create_app
monkey
.
patch_all
(
subprocess
=
True
)
config_name
=
os
.
getenv
(
"
FLASK_CONFIG
"
)
...
...
This diff is collapsed.
Click to expand it.
tasks.py
+
3
−
2
View file @
5a495b1e
import
vars
import
sys
# standard imports
import
json
import
sys
import
time
# third-party imports
from
celery
import
Celery
from
flask_socketio
import
SocketIO
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment