src/redcat/ba/core.py
File core.py
has 2740 lines of code (exceeds 250 allowed). Consider refactoring. Wontfix
Wontfix
r"""Contain the implementation of ``BatchedArray``.
``BatchedArray`` is a custom NumPy array container to make batch
manipulation easier.
"""
BatchedArray
has 130 functions (exceeds 20 allowed). Consider refactoring. Wontfix
Wontfix
class BatchedArray(BaseBatch[np.ndarray], np.lib.mixins.NDArrayOperatorsMixin):
r"""Implement a wrapper around a NumPy array to track the batch
axis."""
def __init__(self, data: ArrayLike, batch_axis: int = 0, check: bool = True) -> None:
Function full_like
has 6 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
def full_like(
Function zeros_like
has 5 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
def zeros_like(
Function empty_like
has 5 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
def empty_like(
Function ones_like
has 5 arguments (exceeds 4 allowed). Consider refactoring. Wontfix
Wontfix
def ones_like(