Merge pull request #12887 from AlanCoding/more_rules

[tech debt] Add new flake8 rules to do some meaningful corrections
This commit is contained in:
Alan Rominger
2022-10-18 20:27:00 -04:00
committed by GitHub
18 changed files with 26 additions and 29 deletions

View File

@@ -24,7 +24,6 @@ __all__ = [
'InventoryInventorySourcesUpdatePermission',
'UserPermission',
'IsSystemAdminOrAuditor',
'InstanceGroupTowerPermission',
'WorkflowApprovalPermission',
]

View File

@@ -3050,8 +3050,7 @@ class WorkflowJobNodeChildrenBaseList(SubListAPIView):
search_fields = ('unified_job_template__name', 'unified_job_template__description')
#
# Limit the set of WorkflowJobeNodes to the related nodes of specified by
#'relationship'
# Limit the set of WorkflowJobNodes to the related nodes of specified by self.relationship
#
def get_queryset(self):
parent = self.get_parent_object()