Showing 2,441 of 6,157 total issues
Consider simplifying this complex logical expression. Open
Open
if (
!fetchingThumbnail &&
dashboard.id &&
(thumbnailUrl === undefined || thumbnailUrl === null) &&
isFeatureEnabled(FeatureFlag.Thumbnails)
Consider simplifying this complex logical expression. Open
Open
if (
action.payload.masked_encrypted_extra &&
action.payload.configuration_method === ConfigurationMethod.DynamicForm
) {
// "extra" payload from the api is a string
Consider simplifying this complex logical expression. Open
Open
if (
isEditMode &&
(!currentLayer?.id ||
(layer && layer.id !== currentLayer.id) ||
(isHidden && show))
Consider simplifying this complex logical expression. Open
Open
if (onlyApply) {
onSubmit(onSubmitProps);
onHide();
addSuccessToast(t('Dashboard properties updated'));
} else {
Consider simplifying this complex logical expression. Open
Open
if (
chart?.queriesResponse?.[0]?.rejected_filters !==
prevChart?.queriesResponse?.[0]?.rejected_filters ||
chart?.queriesResponse?.[0]?.applied_filters !==
prevChart?.queriesResponse?.[0]?.applied_filters ||
Consider simplifying this complex logical expression. Open
Open
if (
(this.state.didVerify || this.state.error) &&
(prevProps.endpoint !== endpoint ||
prevProps.host !== host ||
prevProps.postPayload !== postPayload ||
Function dateFormat
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
col,
formatString,
utcOutput = false,
mthNames = mthNamesEn,
dayNames = dayNamesEn,
Function jsFunctionControl
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
label,
description,
extraDescr = null,
height = 100,
defaultText = '',
Function get_runs
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_runs(
Function submit_explore_json_job
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def submit_explore_json_job(
Function cancel_github_workflows
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def cancel_github_workflows(
Function result_pmc
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def result_pmc(
Function add_tag_object_if_not_tagged
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def add_tag_object_if_not_tagged(
Function print_processed_batch
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def print_processed_batch(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__( # pylint: disable=super-init-not-called
Function update_schema_catalog_perms
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def update_schema_catalog_perms(
Function get_viz
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_viz(
Function build_extra_filters
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def build_extra_filters( # pylint: disable=too-many-locals,too-many-nested-blocks
Function __call__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __call__(
Function get_data
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def get_data(