Showing 383 of 4,191 total issues
Consider simplifying this complex logical expression. Open
Open
if i == 0 and word[0] == 'y':
word = 'Y' + word[1:]
elif word[i] == 'y' and word[i - 1] in self._vowels:
word = word[:i] + 'Y' + word[i + 1 :]
elif (
Consider simplifying this complex logical expression. Open
Open
if pos0 >= 0:
while (_phonet_rules[pos0] is None) or (
cast(str, _phonet_rules[pos0])[0] == char0
):
if pos0 > end3:
Consider simplifying this complex logical expression. Open
Open
if (
word[1:2] in self._uc_c_set - {'M', 'N'}
and word[2:3] in self._uc_c_set
) or (
word[1:2] in self._uc_c_set and word[2:3] not in self._uc_c_set
Consider simplifying this complex logical expression. Open
Open
if skip:
skip -= 1
elif char in self._uc_vy_set:
code += char
# IIc
Consider simplifying this complex logical expression. Open
Open
if matches > 1 or (
matches == 1
and src2_num_words == 1
and tar2_num_words == 1
and (tar_len_specials > 0 or src_len_specials > 0)
Consider simplifying this complex logical expression. Open
Open
if matches > 1 or (
matches == 1
and src1_num_words == 1
and tar1_num_words == 1
and (tar_len_specials > 0 or src_len_specials > 0)
Consider simplifying this complex logical expression. Open
Open
if syll[-1] in _vowels and (
(
len(w[i:]) > 1
and w[i : i + 1] not in _vowels
and w[i + 1 : i + 2] not in _vowels
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function pairwise_similarity_statistics
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def pairwise_similarity_statistics(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function download_package
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def download_package(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function _synoname_word_approximation
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _synoname_word_approximation(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(