Skip to content

Commit

Permalink
Formatting with black
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy committed Aug 9, 2024
1 parent 5e7d52f commit 080d905
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions docassemble/AssemblyLine/al_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -1621,9 +1621,7 @@ def pronoun(self, **kwargs) -> str:
parse_custom_pronouns(self.pronouns_self_described)["o"]
)
elif has_parsable_pronouns(pronoun):
pronouns_to_use.append(
parse_custom_pronouns(pronoun)["o"]
)
pronouns_to_use.append(parse_custom_pronouns(pronoun)["o"])
if len(pronouns_to_use) > 0:
output = "/".join(pronouns_to_use)
else:
Expand Down Expand Up @@ -1698,7 +1696,7 @@ def pronoun_possessive(self, target, **kwargs) -> str:
output = your(target, **kwargs)
elif hasattr(self, "pronouns") and self.pronouns:
pronouns_to_use = []
if isinstance(pronouns, DADict):
if isinstance(pronouns, DADict):
for pronoun in pronouns.true_values():
if pronoun in [
"she/her/hers",
Expand Down Expand Up @@ -1806,9 +1804,7 @@ def pronoun_subjective(self, **kwargs) -> str:
parse_custom_pronouns(self.pronouns_self_described)["s"]
)
elif has_parsable_pronouns(pronoun):
pronouns_to_use.append(
parse_custom_pronouns(pronoun)["s"]
)
pronouns_to_use.append(parse_custom_pronouns(pronoun)["s"])
if len(pronouns_to_use) > 0:
output = "/".join(pronouns_to_use)
else:
Expand Down

0 comments on commit 080d905

Please sign in to comment.