Skip to content

Commit

Permalink
make mypy shut the fuck up
Browse files Browse the repository at this point in the history
  • Loading branch information
marscher committed Oct 8, 2024
1 parent 48546ef commit 0034674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jpype/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def _handleClassPath(
"""
Return a classpath which represents the given tuple of classpath specifications
"""
out = []
out: list[str] = []
if classpath is None:
return out
if isinstance(classpath, (str, os.PathLike)):
Expand Down

0 comments on commit 0034674

Please sign in to comment.