_unittests/ut_files/test_LONG_HTTP_jython.py

Unused import src
15
import src

_unittests/ut_files/test_SKIP_HTTP_pig.py

Unused import src
15
import src

_unittests/ut_module/test_code_style.py

Unused import src
12
import src
Method could be a function
27
def test_style_src(self):
Method could be a function
41
def test_style_test(self):

_unittests/ut_module/test_convert_notebooks.py

Unused import src
14
import src

_unittests/ut_module/test_readme.py

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
39
assert os.path.exists(readme)

_unittests/ut_module/test_version.py

Unused import src
12
import src
Method could be a function
29
def test_version(self):

_unittests/ut_remote/test_azure.py

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
109
assert len(content) == 0
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
111
assert not self.client.exists(
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
295
assert len(df) > 0

_unittests/ut_remote/test_cloudera.py

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
124
assert len(ld) >= 3

_unittests/ut_remote/test_outconnection.py

Use of assert detected. The enclosed code will be removed when compiling to optimised byte code.
102
assert len(out) > 0

src/pyenbc/remote/magic_azure.py

Unused variable 'bs'
303
_, bs = self.get_blob_connection()
Method could be a function
321
def _interpret_path(self, line, cl, bs, empty_is_value=False):
Method could be a function
1190
def _run_jython(self, cell, filename, func_name, args, true_jython=None):

src/pyenbc/remote/ssh_remote_connection.py

Possible shell injection via Paramiko call, check inputs are properly sanitized.
79
stdin, stdout, stderr = self.connection.exec_command(command)
Use of possibly insecure function - consider using safer ast.literal_eval.
99
err = eval(err)
Use of possibly insecure function - consider using safer ast.literal_eval.
101
out = eval(out)