Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 17, 2024
1 parent e4d5d83 commit 91a4ae2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/attr/_make.py
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,9 @@ def _assign_with_converter(attr_name, value_var, has_on_setattr):
if has_on_setattr:
return _setattr_with_converter(attr_name, value_var, True)

return f"self.{attr_name} = {_INIT_CONVERTER_PAT % (attr_name,)}({value_var})"
return (
f"self.{attr_name} = {_INIT_CONVERTER_PAT % (attr_name,)}({value_var})"
)


def _determine_setters(frozen, slots, base_attr_map):
Expand Down

0 comments on commit 91a4ae2

Please sign in to comment.