Skip to content

Commit

Permalink
Fixed line too long lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
soulmachine committed Dec 17, 2024
1 parent 403c4ee commit 8e6e595
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ def validate_init_args(
)

non_null_creds = list(
x is not None for x in ((api_key or username), session, oauth2, token, cookies)
x is not None for x in ((api_key or username), session, oauth2, token,
cookies)
)
if sum(non_null_creds) > 1:
all_names = ("(api_key, username)", "session", "oauth2", "token", "cookies")
Expand Down

0 comments on commit 8e6e595

Please sign in to comment.