Showing 9,525 of 13,510 total issues
Function copy_file
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def copy_file(src, dst, preserve_mode=1, preserve_times=1, update=0,
Function compile
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def compile(self, sources,
Function compile
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def compile(self, sources,
Function copy_tree
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def copy_tree(src, dst, preserve_mode=1, preserve_times=1,
Function __init__
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, decorators, name, argnames, defaults, flags, doc, code, lineno=None):
Function __init__
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, name, level, pathname, lineno,
Function _make_tarball
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _make_tarball(base_name, base_dir, compress="gzip", verbose=0, dry_run=0,
Consider simplifying this complex logical expression. Open
Open
if (Tag0 == 0xED) or (Tag0 == 0xE1): # guid
GuidId, guid0, guid1, guid2, guid3 = struct.unpack(GUID_RECORD, value)
g = guid_str(guid0, guid1, guid2, guid3)
guid_map[GuidId] = g
elif (Tag0 == 0xEE) or (Tag0 == 0xE2): # var name
Function send_SW_SMI
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def send_SW_SMI( self, SMI_code_port_value, SMI_data_port_value, _rax, _rbx, _rcx, _rdx, _rsi, _rdi ):
Function parse_uefi_section
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def parse_uefi_section( _uefi, data, Size, offset, polarity, parent_offset, parent_path, decode_log_path ):
Function __init__
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, name, classname, pTime=None, stdout=None, stderr=None, tcType=None, message=None, output=None):
Function section
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def section(self, title, fgcol, bgcol, contents, width=6,
Function docroutine
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def docroutine(self, object, name=None, mod=None,
Function context_diff
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def context_diff(a, b, fromfile='', tofile='',
Consider simplifying this complex logical expression. Open
Open
if symbol:
smb = conv[international and 'int_curr_symbol' or 'currency_symbol']
precedes = conv[val<0 and 'n_cs_precedes' or 'p_cs_precedes']
separated = conv[val<0 and 'n_sep_by_space' or 'p_sep_by_space']
Function unified_diff
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def unified_diff(a, b, fromfile='', tofile='', fromfiledate='',
Consider simplifying this complex logical expression. Open
Open
if ((msg is None or msg.match(text)) and
issubclass(category, cat) and
(mod is None or mod.match(module)) and
(ln == 0 or lineno == ln)):
break
Function JSONObject
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def JSONObject(s_and_end, encoding, strict, scan_once, object_hook,
Consider simplifying this complex logical expression. Open
Open
if (not all(c.isalnum() or c=='_' for c in name) or _iskeyword(name)
or not name or name[0].isdigit() or name.startswith('_')
or name in seen):
names[i] = '_%d' % i
seen.add(name)
Function compile
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def compile(self, sources, output_dir=None, macros=None,