mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
satisfying linter
This commit is contained in:
parent
3909ba8212
commit
77d2c998d3
1 changed files with 2 additions and 2 deletions
|
@ -684,8 +684,8 @@ class ContactAdmin(ListHeaderAdmin):
|
||||||
"""Check if the Contact has a related User"""
|
"""Check if the Contact has a related User"""
|
||||||
return obj.user is not None
|
return obj.user is not None
|
||||||
|
|
||||||
user_exists.boolean = True
|
user_exists.boolean = True # type: ignore
|
||||||
user_exists.short_description = "Is user"
|
user_exists.short_description = "Is user" # type: ignore
|
||||||
|
|
||||||
# We name the custom prop 'contact' because linter
|
# We name the custom prop 'contact' because linter
|
||||||
# is not allowing a short_description attr on it
|
# is not allowing a short_description attr on it
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue