Showing 9,525 of 13,510 total issues
Consider simplifying this complex logical expression. Open
Open
if ((IDENTIFIER <= LA57_1 <= FLOATING_POINT_LITERAL) or LA57_1 == 43 or LA57_1 == 62 or LA57_1 == 66 or (68 <= LA57_1 <= 69) or (72 <= LA57_1 <= 74) or (77 <= LA57_1 <= 79)) :
alt57 = 1
Consider simplifying this complex logical expression. Open
Open
if (LA23_2 == 43) :
alt23 = 2
elif (LA23_2 == EOF or LA23_2 == IDENTIFIER or LA23_2 == 25 or LA23_2 == 27 or (29 <= LA23_2 <= 42) or (45 <= LA23_2 <= 64) or LA23_2 == 66) :
alt23 = 3
else:
Consider simplifying this complex logical expression. Open
Open
if (LA15_2 == 43) :
alt15 = 1
elif (LA15_2 == EOF or LA15_2 == IDENTIFIER or LA15_2 == 25 or LA15_2 == 27 or (29 <= LA15_2 <= 42) or (45 <= LA15_2 <= 64) or LA15_2 == 66) :
alt15 = 2
else:
Consider simplifying this complex logical expression. Open
Open
if (LA23_2 == 43) :
alt23 = 2
elif (LA23_2 == EOF or LA23_2 == IDENTIFIER or LA23_2 == 25 or LA23_2 == 27 or (29 <= LA23_2 <= 42) or (45 <= LA23_2 <= 64) or LA23_2 == 66) :
alt23 = 3
else:
Consider simplifying this complex logical expression. Open
Open
if ((IDENTIFIER <= LA57_1 <= FLOATING_POINT_LITERAL) or LA57_1 == 43 or LA57_1 == 62 or LA57_1 == 66 or (68 <= LA57_1 <= 69) or (72 <= LA57_1 <= 74) or (77 <= LA57_1 <= 79)) :
alt57 = 1
Function docroutine
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def docroutine(self, object, name=None, mod=None,
Function section
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def section(self, title, fgcol, bgcol, contents, width=6,
Function pushbutton
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def pushbutton(self, name, x, y, w, h, attr, text, next):
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,
Function compile
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def compile(self, sources,
Function make_archive
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def make_archive(base_name, format, root_dir=None, base_dir=None, verbose=0,
Function byte_compile
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def byte_compile (py_files,