Skip to content

Commit

Permalink
Fix linters
Browse files Browse the repository at this point in the history
  • Loading branch information
gravesm committed Oct 17, 2024
1 parent 8e15ffa commit 5e2aa26
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 11 deletions.
1 change: 0 additions & 1 deletion awx/api/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from rest_framework import serializers

# AWX
from awx.conf import fields
from awx.main.models import Credential

__all__ = ['BooleanNullField', 'CharNullField', 'ChoiceNullField', 'VerbatimField']
Expand Down
2 changes: 1 addition & 1 deletion awx/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

# AWX
from awx.main.access import get_user_capabilities
from awx.main.constants import ACTIVE_STATES, CENSOR_VALUE, org_role_to_permission
from awx.main.constants import ACTIVE_STATES, org_role_to_permission
from awx.main.models import (
ActivityStream,
AdHocCommand,
Expand Down
2 changes: 1 addition & 1 deletion awx/api/views/root.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
from awx.main.ha import is_ha_environment
from awx.main.utils import get_awx_version, get_custom_venv_choices
from awx.main.utils.licensing import validate_entitlement_manifest
from awx.api.versioning import URLPathVersioning, is_optional_api_urlpattern_prefix_request, reverse, drf_reverse
from awx.api.versioning import URLPathVersioning, reverse, drf_reverse
from awx.main.constants import PRIVILEGE_ESCALATION_METHODS
from awx.main.models import Project, Organization, Instance, InstanceGroup, JobTemplate
from awx.main.utils import set_environ
Expand Down
4 changes: 1 addition & 3 deletions awx/main/migrations/0041_v330_update_oauth_refreshtoken.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
# Generated by Django 1.11.11 on 2018-06-14 21:03
from __future__ import unicode_literals

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
from django.db import migrations


class Migration(migrations.Migration):
Expand Down
2 changes: 0 additions & 2 deletions awx/main/migrations/0183_pre_django_upgrade.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Generated by Django 3.2.16 on 2023-04-21 14:15

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):
Expand Down
1 change: 0 additions & 1 deletion awx/main/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@
WorkflowApproval,
WorkflowApprovalTemplate,
)
from awx.api.versioning import reverse


# Add custom methods to User model for permissions checks.
Expand Down
1 change: 0 additions & 1 deletion awx/main/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@
WorkflowApprovalTemplate,
ROLE_SINGLETON_SYSTEM_ADMINISTRATOR,
)
from awx.main.constants import CENSOR_VALUE
from awx.main.utils import model_instance_diff, model_to_dict, camelcase_to_underscore, get_current_apps
from awx.main.utils import ignore_inventory_computed_fields, ignore_inventory_group_removal, _inventory_updates
from awx.main.tasks.system import update_inventory_computed_fields, handle_removed_image
Expand Down
1 change: 0 additions & 1 deletion awx/main/tests/unit/api/test_filters.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

from awx.main.models import (
AdHocCommand,
ActivityStream,
Job,
JobTemplate,
SystemJob,
Expand Down

0 comments on commit 5e2aa26

Please sign in to comment.