Skip to content

Commit 4333ed3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 64cf897 commit 4333ed3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

hubspot_sync/api.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,7 @@ def get_hubspot_id_for_object( # noqa: C901
551551
return hubspot_obj.id
552552
elif raise_error:
553553
msg = f"Hubspot id could not be found for {content_type.name} for id {obj.id}"
554-
raise ValueError(
555-
msg
556-
)
554+
raise ValueError(msg)
557555

558556

559557
def sync_line_item_with_hubspot(line: Line) -> SimplePublicObject:

0 commit comments

Comments
 (0)