Skip to content

Commit

Permalink
Make the linter happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Jul 22, 2024
1 parent 6c92065 commit e73909a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/jgo/jgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -734,9 +734,11 @@ def run(parser, argv=sys.argv[1:], stdout=None, stderr=None):

endpoint_index = find_endpoint(argv, shortcuts)
if endpoint_index == -1:
raise HelpRequested(
argv
) if "-h" in argv or "--help" in argv else NoEndpointProvided(argv)
raise (
HelpRequested(argv)
if "-h" in argv or "--help" in argv
else NoEndpointProvided(argv)
)

args, unknown = parser.parse_known_args(argv[:endpoint_index])
jvm_args = unknown if unknown else []
Expand Down

0 comments on commit e73909a

Please sign in to comment.