fixed up a few issues found from linter
This commit is contained in:
2
job.py
2
job.py
@@ -10,6 +10,8 @@ import pytz
|
|||||||
import socket
|
import socket
|
||||||
from shared import PA_JOB_MANAGER_HOST, PA_JOB_MANAGER_PORT
|
from shared import PA_JOB_MANAGER_HOST, PA_JOB_MANAGER_PORT
|
||||||
|
|
||||||
|
# pylint: disable=no-member
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
# Class describing Job in the database, and via sqlalchemy, connected to the DB as well
|
# Class describing Job in the database, and via sqlalchemy, connected to the DB as well
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|||||||
4
main.py
4
main.py
@@ -10,6 +10,8 @@ from shared import CreateSelect, DB_URL
|
|||||||
import re
|
import re
|
||||||
import socket
|
import socket
|
||||||
|
|
||||||
|
# pylint: disable=no-member
|
||||||
|
|
||||||
####################################### Flask App globals #######################################
|
####################################### Flask App globals #######################################
|
||||||
PROD_HOST="pa_web"
|
PROD_HOST="pa_web"
|
||||||
hostname = socket.gethostname()
|
hostname = socket.gethostname()
|
||||||
@@ -30,7 +32,7 @@ from files import Entry, GetJM_Message, ClearJM_Message
|
|||||||
from person import Person
|
from person import Person
|
||||||
from refimg import Refimg
|
from refimg import Refimg
|
||||||
from job import Job, GetNumActiveJobs
|
from job import Job, GetNumActiveJobs
|
||||||
from ai import *
|
from ai import aistats
|
||||||
|
|
||||||
####################################### GLOBALS #######################################
|
####################################### GLOBALS #######################################
|
||||||
# allow jinja2 to call these python functions directly
|
# allow jinja2 to call these python functions directly
|
||||||
|
|||||||
Reference in New Issue
Block a user