openc3/python/openc3/accessors/binary_accessor.py
Function write_array
has 9 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def write_array(
Function check_overflow
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def check_overflow(cls, value, min_value, max_value, hex_max_value, bit_size, data_type, overflow):
Function check_overflow_array
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def check_overflow_array(cls, values, min_value, max_value, hex_max_value, bit_size, data_type, overflow):
Function write
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def write(cls, value, bit_offset, bit_size, data_type, buffer, endianness, overflow):
Function read_array
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def read_array(cls, bit_offset, bit_size, data_type, array_size, buffer, endianness):
Function read
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def read(cls, bit_offset, bit_size, data_type, buffer, endianness):
Function check_bounds_and_buffer_size
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def check_bounds_and_buffer_size(cls, bit_offset, bit_size, buffer_length, endianness, data_type):
Function check_bit_offset_and_size
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def check_bit_offset_and_size(cls, read_or_write, given_bit_offset, given_bit_size, data_type, buffer):
Consider simplifying this complex logical expression. Open
Open
if not (
(endianness == "LITTLE_ENDIAN")
and ((data_type == "INT") or (data_type == "UINT"))
and (
# Not byte aligned with an even bit size
Function raise_buffer_error
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def raise_buffer_error(cls, read_write, buffer, data_type, given_bit_offset, given_bit_size):