Skip to content

Commit

Permalink
please stfu mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
astrelsky committed Oct 24, 2024
1 parent 3a026bf commit 89ddf34
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions jpype/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ def startJVM(
# Allow the path to be a PathLike.
jvmpath = os.fspath(jvmpath)

extra_jvm_args: typing.Tuple[str, ...] = tuple()

# Classpath handling
if _hasClassPath(jvmargs):
# Old style, specified in the arguments
Expand All @@ -259,7 +257,7 @@ def startJVM(
classpath = _classpath.getClassPath()

# Handle strings and list of strings.
extra_jvm_args = []
extra_jvm_args: list[str] = []

supportLib = os.path.join(os.path.dirname(os.path.dirname(__file__)), "org.jpype.jar")
if not os.path.exists(supportLib):
Expand Down

0 comments on commit 89ddf34

Please sign in to comment.