mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 08:48:46 -03:30
flake8 fixes
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
# Python
|
# Python
|
||||||
import datetime
|
import datetime
|
||||||
import logging
|
import logging
|
||||||
import struct, fcntl, os
|
|
||||||
|
|
||||||
# Django
|
# Django
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
|
|
||||||
from awx.main.models import (
|
from awx.main.models import (
|
||||||
Job,
|
Job,
|
||||||
AdHocCommand,
|
AdHocCommand,
|
||||||
InventoryUpdate,
|
InventoryUpdate,
|
||||||
ProjectUpdate,
|
ProjectUpdate,
|
||||||
WorkflowJob,
|
WorkflowJob,
|
||||||
SystemJob,
|
SystemJob,
|
||||||
)
|
)
|
||||||
|
|
||||||
class SimpleDAG(object):
|
class SimpleDAG(object):
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ from awx.main.task_engine import TaskSerializer, TASK_TIMEOUT_INTERVAL
|
|||||||
from awx.main.utils import (get_ansible_version, get_ssh_version, decrypt_field, update_scm_url,
|
from awx.main.utils import (get_ansible_version, get_ssh_version, decrypt_field, update_scm_url,
|
||||||
emit_websocket_notification,
|
emit_websocket_notification,
|
||||||
check_proot_installed, build_proot_temp_dir, wrap_args_with_proot)
|
check_proot_installed, build_proot_temp_dir, wrap_args_with_proot)
|
||||||
from awx.main.scheduler.dag_workflow import WorkflowDAG
|
|
||||||
|
|
||||||
__all__ = ['RunJob', 'RunSystemJob', 'RunProjectUpdate', 'RunInventoryUpdate',
|
__all__ = ['RunJob', 'RunSystemJob', 'RunProjectUpdate', 'RunInventoryUpdate',
|
||||||
'RunAdHocCommand', 'RunWorkflowJob', 'handle_work_error',
|
'RunAdHocCommand', 'RunWorkflowJob', 'handle_work_error',
|
||||||
|
|||||||
@@ -12,7 +12,6 @@ import sys
|
|||||||
import tempfile
|
import tempfile
|
||||||
import time
|
import time
|
||||||
import urllib
|
import urllib
|
||||||
from multiprocessing import Process
|
|
||||||
import re
|
import re
|
||||||
import mock
|
import mock
|
||||||
|
|
||||||
@@ -30,7 +29,6 @@ from django.utils.encoding import force_text
|
|||||||
|
|
||||||
# AWX
|
# AWX
|
||||||
from awx.main.models import * # noqa
|
from awx.main.models import * # noqa
|
||||||
from awx.main.management.commands.run_callback_receiver import CallbackReceiver
|
|
||||||
from awx.main.utils import get_ansible_version
|
from awx.main.utils import get_ansible_version
|
||||||
from awx.main.task_engine import TaskEngager as LicenseWriter
|
from awx.main.task_engine import TaskEngager as LicenseWriter
|
||||||
from awx.sso.backends import LDAPSettings
|
from awx.sso.backends import LDAPSettings
|
||||||
|
|||||||
Reference in New Issue
Block a user