Skip to content

Commit

Permalink
remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Almenon committed Nov 19, 2024
1 parent 29b1095 commit 81e25c4
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 9 deletions.
2 changes: 0 additions & 2 deletions python/arepl_dump.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import arepl_jsonpickle
import inspect
import json
from time import time
from typing import Any, List, Union
from arepl_python_evaluator import pickle_user_vars, ReturnInfo, print_output
Expand Down
1 change: 0 additions & 1 deletion python/arepl_pickler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
util,
) # https://stackoverflow.com/questions/39660934/error-when-using-importlib-util-to-check-for-library
from math import isnan
from types import ModuleType, FunctionType
from typing import Any, Dict, List

import arepl_jsonpickle as jsonpickle
Expand Down
3 changes: 1 addition & 2 deletions python/arepl_python_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@ def __init__(
done=True,
count=-1,
startResult=False,
*args,
**kwargs
):
"""
:param userVariables: JSON string
Expand Down Expand Up @@ -119,6 +117,7 @@ def script_path(script_dir: str):

exec_locals = None


def exec_input(exec_args: ExecArgs):
"""
returns info about the executed code (local vars, errors, and timing)
Expand Down
1 change: 0 additions & 1 deletion python/test_arepl_dump.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import pytest
from json import loads

from arepl_dump import dump
Expand Down
2 changes: 1 addition & 1 deletion python/test_pickler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from arepl_pickler import specialVars, pickle_user_vars, pickle_user_error
from arepl_pickler import pickle_user_vars, pickle_user_error
import arepl_python_evaluator as python_evaluator
import arepl_jsonpickle as jsonpickle

Expand Down
3 changes: 1 addition & 2 deletions python/test_python_evaluator.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from os import chdir, getcwd, listdir, path, pardir, remove
from shutil import rmtree
from os import path
import tempfile

import pytest
Expand Down

0 comments on commit 81e25c4

Please sign in to comment.