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 Aug 6, 2023
1 parent ce90eb8 commit dede384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,7 @@ def __init__(

# Enforce that the error contains at least one of the fields we expect
if all(
getattr(self, field_name) is None
for field_name in self.SUPPORTED_FIELDS
getattr(self, field_name) is None for field_name in self.SUPPORTED_FIELDS
):
raise ValueError(
"Must include at least one supported authorization parameter: "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ def __init__(

# Enforce that the error contains at least one of the fields we expect
if all(
getattr(self, field_name) is None
for field_name in self.SUPPORTED_FIELDS
getattr(self, field_name) is None for field_name in self.SUPPORTED_FIELDS
):
raise ValueError(
"Must include at least one supported authorization parameter: "
Expand Down

0 comments on commit dede384

Please sign in to comment.