Showing 916 of 916 total issues
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._slice is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert raw_damage is not None
- Exclude checks
subprocess call - check for execution of untrusted input. Open
Open
rev_raw = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=new_cwd)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(files) > 0
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert ndims in (2, 3)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._meta is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._partition_slice is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert np.all(np.equal(values, values[0]))
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert job_id not in self.jobs
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(correlation_result.centers) == len(selector)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert isinstance(reporter, ProgressReporter)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert s == cs, "invalid nav_shape #2"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert arr_shm.size == size, f"{arr_shm.size} != {size}"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._files_sorted is not None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert array_backend == SCIPY_CSR or array_backend is None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert np.max(triple.indices) < prod(sig_shape)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert valid_mask is not None
- Exclude checks
Possible binding to all interfaces. Open
Open
if parts.hostname in ('0.0.0.0', '::'):
- Exclude checks
subprocess call - check for execution of untrusted input. Open
Open
subprocess.check_call(command, cwd=cwd_client)
- Exclude checks
Starting a process with a partial executable path Open
Open
rev_raw = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=new_cwd)
- Exclude checks
subprocess call - check for execution of untrusted input. Open
Open
rev_raw = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=new_cwd)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._frame_header % itemsize == 0
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(mem) // itemsize // self.num_frames % (
slicing.frame_size + (self._frame_header + self._frame_footer) // itemsize
) == 0, "len(mem) must fit the sig shape"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert array_backend in (NUMPY, CUDA)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert b.header['frame_id'] == frame_id
- Exclude checks
Consider possible security implications associated with subprocess module. Open
Open
import subprocess
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert arr.size > 0
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert b.is_valid
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert uuid not in self.datasets
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self.window is None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert ref.shape == peaks.shape
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert o == 0, "invalid origin"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert all(isinstance(s, (slice, int)) or s in (Ellipsis, None) for s in slices)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert array_backend in (NUMPY, CUDA)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert b.is_valid, "last block is not valid!"
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(tiling_scheme) == 1
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert frame_slice.shape[0] == 1
# assert .... or True to allow disabling this check
# in a production run for performance
- Exclude checks
Starting a process with a partial executable path Open
Open
rev_raw = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=new_cwd)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self.fig is None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(path) == 1
- Exclude checks
Consider possible security implications associated with subprocess module. Open
Open
import subprocess
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert sum(e is Ellipsis for e in slices1) == 1
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert next_el is None
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert new_req_size <= self.full_size
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert self._frame_footer % itemsize == 0
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert b.is_valid
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert len(path) == 1
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert all(b.header['frame_id'] == frame_id
for b in blocks)
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert ports, 'No sockets'
- Exclude checks
Use of assert detected. The enclosed code will be removed when compiling to optimised byte code. Open
Open
assert b.is_valid
- Exclude checks