mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-15 17:17:02 +02:00
Lint
This commit is contained in:
parent
5fd842233a
commit
23405cd145
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class AdminFormOrderHelper():
|
|||
"""A helper class to order a dropdown field in Django Admin, takes the fields you want to order by as an array""" # noqa
|
||||
|
||||
# Used to keep track of how we want to order_by certain FKs
|
||||
_sorting_dict: [SortingDictInterface] = [...] # noqa
|
||||
_sorting_dict: list[SortingDictInterface] = [...] # noqa
|
||||
|
||||
def __init__(self, sort):
|
||||
self._sorting_dict = sort
|
||||
|
|
|
@ -436,7 +436,7 @@ class AuditedAdminTest(TestCase):
|
|||
|
||||
self.assertEqual(desired_order,
|
||||
current_sort_order_coerced_type,
|
||||
"{} is not ordered alphabetically".format(field.name))
|
||||
"{} is not ordered alphabetically".format(field_name))
|
||||
|
||||
# I originally spent some time trying to fully
|
||||
# generalize this to replace the match/arg fields,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue