Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 23, 2024
1 parent a6d542d commit 82ec71f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openpack/basepack.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ def _validate_part(self, name, part):
# recognize a part with a part name derived from another part name by
# appending segments to it
for cname in self:
assert not cname.startswith(
name
), f'The name {name} is a derivative of {cname}'
assert not cname.startswith(name), (
f'The name {name} is a derivative of {cname}'
)
assert name == part.name, f"{name} != {part.name}"
return part

Expand Down

0 comments on commit 82ec71f

Please sign in to comment.