-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use value > max
style in pylint and mccabe messages
#3553
Use value > max
style in pylint and mccabe messages
#3553
Conversation
ℹ️ ecosystem check detected changes. (+376, -376, 0 error(s)) zulip (+146, -146)
+ analytics/management/commands/check_analytics_state.py:39:9: C901 `get_fill_state` is too complex (11 > 10)
- analytics/management/commands/check_analytics_state.py:39:9: C901 `get_fill_state` is too complex (11)
+ analytics/tests/test_support_views.py:30:9: C901 `test_search` is too complex (15 > 10)
- analytics/tests/test_support_views.py:30:9: C901 `test_search` is too complex (15)
+ analytics/views/activity_common.py:108:5: C901 `get_user_activity_summary` is too complex (11 > 10)
- analytics/views/activity_common.py:108:5: C901 `get_user_activity_summary` is too complex (11)
+ analytics/views/installation_activity.py:359:5: C901 `ad_hoc_queries` is too complex (14 > 10)
- analytics/views/installation_activity.py:359:5: C901 `ad_hoc_queries` is too complex (14)
+ analytics/views/installation_activity.py:360:9: C901 `get_page` is too complex (12 > 10)
- analytics/views/installation_activity.py:360:9: C901 `get_page` is too complex (12)
+ analytics/views/installation_activity.py:99:5: C901 `realm_summary_table` is too complex (15 > 10)
- analytics/views/installation_activity.py:99:5: C901 `realm_summary_table` is too complex (15)
+ analytics/views/realm_activity.py:43:5: C901 `realm_user_summary_table` is too complex (14 > 10)
- analytics/views/realm_activity.py:43:5: C901 `realm_user_summary_table` is too complex (14)
+ analytics/views/stats.py:232:5: C901 `get_chart_data` is too complex (28 > 10)
- analytics/views/stats.py:232:5: C901 `get_chart_data` is too complex (28)
+ analytics/views/support.py:150:5: C901 `support` is too complex (35 > 10)
- analytics/views/support.py:150:5: C901 `support` is too complex (35)
+ corporate/lib/stripe.py:835:5: C901 `invoice_plan` is too complex (11 > 10)
- corporate/lib/stripe.py:835:5: C901 `invoice_plan` is too complex (11)
+ corporate/tests/test_stripe.py:3632:9: C901 `test_downgrade_small_realms_behind_on_payments_as_needed` is too complex (14 > 10)
- corporate/tests/test_stripe.py:3632:9: C901 `test_downgrade_small_realms_behind_on_payments_as_needed` is too complex (14)
+ corporate/tests/test_stripe.py:539:9: C901 `upgrade` is too complex (11 > 10)
- corporate/tests/test_stripe.py:539:9: C901 `upgrade` is too complex (11)
+ corporate/views/billing_page.py:154:5: C901 `update_plan` is too complex (15 > 10)
- corporate/views/billing_page.py:154:5: C901 `update_plan` is too complex (15)
+ corporate/views/billing_page.py:63:5: C901 `billing_home` is too complex (11 > 10)
- corporate/views/billing_page.py:63:5: C901 `billing_home` is too complex (11)
+ corporate/views/webhook.py:23:5: C901 `stripe_webhook` is too complex (14 > 10)
- corporate/views/webhook.py:23:5: C901 `stripe_webhook` is too complex (14)
+ scripts/setup/generate_secrets.py:75:5: C901 `generate_secrets` is too complex (22 > 10)
- scripts/setup/generate_secrets.py:75:5: C901 `generate_secrets` is too complex (22)
+ tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py:141:9: C901 `_make_requests` is too complex (12 > 10)
- tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py:141:9: C901 `_make_requests` is too complex (12)
+ tools/lib/pretty_print.py:42:5: C901 `adjust_block_indentation` is too complex (17 > 10)
- tools/lib/pretty_print.py:42:5: C901 `adjust_block_indentation` is too complex (17)
+ tools/lib/provision.py:348:5: C901 `main` is too complex (13 > 10)
- tools/lib/provision.py:348:5: C901 `main` is too complex (13)
+ tools/lib/provision_inner.py:212:5: C901 `main` is too complex (19 > 10)
- tools/lib/provision_inner.py:212:5: C901 `main` is too complex (19)
+ tools/lib/template_parser.py:346:5: C901 `validate` is too complex (24 > 10)
- tools/lib/template_parser.py:346:5: C901 `validate` is too complex (24)
+ tools/lib/template_parser.py:389:9: C901 `start_tag_matcher` is too complex (11 > 10)
- tools/lib/template_parser.py:389:9: C901 `start_tag_matcher` is too complex (11)
+ tools/lib/template_parser.py:51:5: C901 `tokenize` is too complex (54 > 10)
- tools/lib/template_parser.py:51:5: C901 `tokenize` is too complex (54)
+ zerver/actions/create_realm.py:132:5: C901 `do_create_realm` is too complex (16 > 10)
- zerver/actions/create_realm.py:132:5: C901 `do_create_realm` is too complex (16)
+ zerver/actions/create_user.py:165:5: C901 `process_new_human_user` is too complex (12 > 10)
- zerver/actions/create_user.py:165:5: C901 `process_new_human_user` is too complex (12)
+ zerver/actions/invites.py:194:5: C901 `do_invite_users` is too complex (13 > 10)
- zerver/actions/invites.py:194:5: C901 `do_invite_users` is too complex (13)
+ zerver/actions/invites.py:85:5: C901 `apply_invite_realm_heuristics` is too complex (11 > 10)
- zerver/actions/invites.py:85:5: C901 `apply_invite_realm_heuristics` is too complex (11)
+ zerver/actions/message_edit.py:330:5: C901 `do_update_message` is too complex (39 > 10)
- zerver/actions/message_edit.py:330:5: C901 `do_update_message` is too complex (39)
+ zerver/actions/message_edit.py:905:5: C901 `check_update_message` is too complex (20 > 10)
- zerver/actions/message_edit.py:905:5: C901 `check_update_message` is too complex (20)
+ zerver/actions/message_send.py:1332:5: C901 `check_message` is too complex (17 > 10)
- zerver/actions/message_send.py:1332:5: C901 `check_message` is too complex (17)
+ zerver/actions/message_send.py:745:5: C901 `do_send_messages` is too complex (18 > 10)
- zerver/actions/message_send.py:745:5: C901 `do_send_messages` is too complex (18)
+ zerver/actions/streams.py:467:5: C901 `bulk_add_subscriptions` is too complex (13 > 10)
- zerver/actions/streams.py:467:5: C901 `bulk_add_subscriptions` is too complex (13)
+ zerver/actions/user_settings.py:397:5: C901 `do_change_user_setting` is too complex (15 > 10)
- zerver/actions/user_settings.py:397:5: C901 `do_change_user_setting` is too complex (15)
+ zerver/data_import/import_util.py:751:5: C901 `long_term_idle_helper` is too complex (11 > 10)
- zerver/data_import/import_util.py:751:5: C901 `long_term_idle_helper` is too complex (11)
+ zerver/data_import/mattermost.py:133:5: C901 `convert_channel_data` is too complex (16 > 10)
- zerver/data_import/mattermost.py:133:5: C901 `convert_channel_data` is too complex (16)
+ zerver/data_import/mattermost.py:528:5: C901 `process_posts` is too complex (17 > 10)
- zerver/data_import/mattermost.py:528:5: C901 `process_posts` is too complex (17)
+ zerver/data_import/mattermost.py:638:5: C901 `write_message_data` is too complex (11 > 10)
- zerver/data_import/mattermost.py:638:5: C901 `write_message_data` is too complex (11)
+ zerver/data_import/rocketchat.py:603:5: C901 `process_messages` is too complex (24 > 10)
- zerver/data_import/rocketchat.py:603:5: C901 `process_messages` is too complex (24)
+ zerver/data_import/rocketchat.py:648:9: C901 `message_to_dict` is too complex (16 > 10)
- zerver/data_import/rocketchat.py:648:9: C901 `message_to_dict` is too complex (16)
+ zerver/data_import/slack.py:486:5: C901 `channels_to_zerver_stream` is too complex (12 > 10)
- zerver/data_import/slack.py:486:5: C901 `channels_to_zerver_stream` is too complex (12)
+ zerver/data_import/slack.py:785:5: C901 `get_messages_iterator` is too complex (11 > 10)
- zerver/data_import/slack.py:785:5: C901 `get_messages_iterator` is too complex (11)
+ zerver/data_import/slack.py:835:5: C901 `channel_message_to_zerver_message` is too complex (13 > 10)
- zerver/data_import/slack.py:835:5: C901 `channel_message_to_zerver_message` is too complex (13)
+ zerver/decorator.py:723:5: C901 `authenticated_rest_api_view` is too complex (11 > 10)
- zerver/decorator.py:723:5: C901 `authenticated_rest_api_view` is too complex (11)
+ zerver/lib/addressee.py:98:9: C901 `legacy_build` is too complex (12 > 10)
- zerver/lib/addressee.py:98:9: C901 `legacy_build` is too complex (12)
+ zerver/lib/bulk_create.py:21:5: C901 `bulk_create_users` is too complex (14 > 10)
- zerver/lib/bulk_create.py:21:5: C901 `bulk_create_users` is too complex (14)
+ zerver/lib/display_recipient.py:79:5: C901 `bulk_fetch_display_recipients` is too complex (11 > 10)
- zerver/lib/display_recipient.py:79:5: C901 `bulk_fetch_display_recipients` is too complex (11)
+ zerver/lib/email_notifications.py:194:5: C901 `build_message_list` is too complex (17 > 10)
- zerver/lib/email_notifications.py:194:5: C901 `build_message_list` is too complex (17)
+ zerver/lib/email_notifications.py:411:5: C901 `do_send_missedmessage_events_reply_in_zulip` is too complex (11 > 10)
- zerver/lib/email_notifications.py:411:5: C901 `do_send_missedmessage_events_reply_in_zulip` is too complex (11)
+ zerver/lib/email_notifications.py:595:5: C901 `handle_missedmessage_emails` is too complex (11 > 10)
- zerver/lib/email_notifications.py:595:5: C901 `handle_missedmessage_emails` is too complex (11)
+ zerver/lib/emoji.py:70:5: C901 `check_emoji_request` is too complex (11 > 10)
- zerver/lib/emoji.py:70:5: C901 `check_emoji_request` is too complex (11)
+ zerver/lib/events.py:104:5: C901 `fetch_initial_state_data` is too complex (63 > 10)
- zerver/lib/events.py:104:5: C901 `fetch_initial_state_data` is too complex (63)
+ zerver/lib/events.py:670:5: C901 `apply_event` is too complex (213 > 10)
- zerver/lib/events.py:670:5: C901 `apply_event` is too complex (213)
+ zerver/lib/export.py:1570:5: C901 `export_files_from_s3` is too complex (11 > 10)
- zerver/lib/export.py:1570:5: C901 `export_files_from_s3` is too complex (11)
+ zerver/lib/export.py:462:9: C901 `__init__` is too complex (12 > 10)
- zerver/lib/export.py:462:9: C901 `__init__` is too complex (12)
+ zerver/lib/export.py:555:5: C901 `export_from_config` is too complex (23 > 10)
- zerver/lib/export.py:555:5: C901 `export_from_config` is too complex (23)
+ zerver/lib/generate_test_data.py:110:5: C901 `add_flair` is too complex (15 > 10)
- zerver/lib/generate_test_data.py:110:5: C901 `add_flair` is too complex (15)
+ zerver/lib/import_realm.py:294:5: C901 `fix_message_rendered_content` is too complex (15 > 10)
- zerver/lib/import_realm.py:294:5: C901 `fix_message_rendered_content` is too complex (15)
+ zerver/lib/import_realm.py:752:5: C901 `import_uploads` is too complex (25 > 10)
- zerver/lib/import_realm.py:752:5: C901 `import_uploads` is too complex (25)
+ zerver/lib/import_realm.py:926:5: C901 `do_import_realm` is too complex (38 > 10)
- zerver/lib/import_realm.py:926:5: C901 `do_import_realm` is too complex (38)
+ zerver/lib/markdown/__init__.py:1200:9: C901 `run` is too complex (28 > 10)
- zerver/lib/markdown/__init__.py:1200:9: C901 `run` is too complex (28)
+ zerver/lib/markdown/__init__.py:2362:5: C901 `topic_links` is too complex (12 > 10)
- zerver/lib/markdown/__init__.py:2362:5: C901 `topic_links` is too complex (12)
+ zerver/lib/markdown/__init__.py:872:9: C901 `twitter_text` is too complex (14 > 10)
- zerver/lib/markdown/__init__.py:872:9: C901 `twitter_text` is too complex (14)
+ zerver/lib/markdown/api_arguments_table_generator.py:109:9: C901 `render_parameters` is too complex (13 > 10)
- zerver/lib/markdown/api_arguments_table_generator.py:109:9: C901 `render_parameters` is too complex (13)
+ zerver/lib/markdown/api_return_values_table_generator.py:108:9: C901 `render_table` is too complex (12 > 10)
- zerver/lib/markdown/api_return_values_table_generator.py:108:9: C901 `render_table` is too complex (12)
+ zerver/lib/message.py:1062:5: C901 `extract_unread_data_from_um_rows` is too complex (17 > 10)
- zerver/lib/message.py:1062:5: C901 `extract_unread_data_from_um_rows` is too complex (17)
+ zerver/lib/narrow.py:134:5: C901 `build_narrow_filter` is too complex (22 > 10)
- zerver/lib/narrow.py:134:5: C901 `build_narrow_filter` is too complex (22)
+ zerver/lib/narrow.py:139:9: C901 `narrow_filter` is too complex (21 > 10)
- zerver/lib/narrow.py:139:9: C901 `narrow_filter` is too complex (21)
+ zerver/lib/narrow.py:654:5: C901 `narrow_parameter` is too complex (11 > 10)
- zerver/lib/narrow.py:654:5: C901 `narrow_parameter` is too complex (11)
+ zerver/lib/narrow.py:987:5: C901 `limit_query_to_range` is too complex (12 > 10)
- zerver/lib/narrow.py:987:5: C901 `limit_query_to_range` is too complex (12)
+ zerver/lib/push_notifications.py:1037:5: C901 `handle_push_notification` is too complex (11 > 10)
- zerver/lib/push_notifications.py:1037:5: C901 `handle_push_notification` is too complex (11)
+ zerver/lib/push_notifications.py:361:5: C901 `send_android_push_notification` is too complex (17 > 10)
- zerver/lib/push_notifications.py:361:5: C901 `send_android_push_notification` is too complex (17)
+ zerver/lib/push_notifications.py:682:5: C901 `get_mobile_push_content` is too complex (18 > 10)
- zerver/lib/push_notifications.py:682:5: C901 `get_mobile_push_content` is too complex (18)
+ zerver/lib/request.py:339:5: C901 `has_request_variables` is too complex (29 > 10)
- zerver/lib/request.py:339:5: C901 `has_request_variables` is too complex (29)
+ zerver/lib/request.py:370:9: C901 `_wrapped_req_func` is too complex (23 > 10)
- zerver/lib/request.py:370:9: C901 `_wrapped_req_func` is too complex (23)
+ zerver/lib/scim.py:226:9: C901 `save` is too complex (11 > 10)
- zerver/lib/scim.py:226:9: C901 `save` is too complex (11)
+ zerver/lib/send_email.py:72:5: C901 `build_email` is too complex (20 > 10)
- zerver/lib/send_email.py:72:5: C901 `build_email` is too complex (20)
+ zerver/lib/soft_deactivation.py:36:5: C901 `filter_by_subscription_history` is too complex (15 > 10)
- zerver/lib/soft_deactivation.py:36:5: C901 `filter_by_subscription_history` is too complex (15)
+ zerver/lib/streams.py:246:5: C901 `access_stream_for_send_message` is too complex (12 > 10)
- zerver/lib/streams.py:246:5: C901 `access_stream_for_send_message` is too complex (12)
+ zerver/lib/streams.py:658:5: C901 `list_to_streams` is too complex (19 > 10)
- zerver/lib/streams.py:658:5: C901 `list_to_streams` is too complex (19)
+ zerver/lib/streams.py:827:5: C901 `do_get_streams` is too complex (13 > 10)
- zerver/lib/streams.py:827:5: C901 `do_get_streams` is too complex (13)
+ zerver/lib/subscription_info.py:393:5: C901 `gather_subscriptions_helper` is too complex (11 > 10)
- zerver/lib/subscription_info.py:393:5: C901 `gather_subscriptions_helper` is too complex (11)
+ zerver/lib/test_helpers.py:439:5: C901 `write_instrumentation_reports` is too complex (23 > 10)
- zerver/lib/test_helpers.py:439:5: C901 `write_instrumentation_reports` is too complex (23)
+ zerver/lib/timeout.py:22:5: C901 `timeout` is too complex (11 > 10)
- zerver/lib/timeout.py:22:5: C901 `timeout` is too complex (11)
+ zerver/lib/users.py:82:5: C901 `check_valid_bot_config` is too complex (11 > 10)
- zerver/lib/users.py:82:5: C901 `check_valid_bot_config` is too complex (11)
+ zerver/lib/validator.py:274:5: C901 `check_dict` is too complex (12 > 10)
- zerver/lib/validator.py:274:5: C901 `check_dict` is too complex (12)
+ zerver/lib/validator.py:281:9: C901 `f` is too complex (11 > 10)
- zerver/lib/validator.py:281:9: C901 `f` is too complex (11)
+ zerver/lib/zcommand.py:10:5: C901 `process_zcommands` is too complex (12 > 10)
- zerver/lib/zcommand.py:10:5: C901 `process_zcommands` is too complex (12)
+ zerver/management/commands/export.py:109:9: C901 `handle` is too complex (16 > 10)
- zerver/management/commands/export.py:109:9: C901 `handle` is too complex (16)
+ zerver/management/commands/export_search.py:73:9: C901 `handle` is too complex (13 > 10)
- zerver/management/commands/export_search.py:73:9: C901 `handle` is too complex (13)
+ zerver/management/commands/list_realms.py:22:9: C901 `handle` is too complex (12 > 10)
- zerver/management/commands/list_realms.py:22:9: C901 `handle` is too complex (12)
+ zerver/management/commands/register_server.py:35:9: C901 `handle` is too complex (11 > 10)
- zerver/management/commands/register_server.py:35:9: C901 `handle` is too complex (11)
+ zerver/management/commands/send_custom_email.py:71:9: C901 `handle` is too complex (11 > 10)
- zerver/management/commands/send_custom_email.py:71:9: C901 `handle` is too complex (11)
+ zerver/middleware.py:151:5: C901 `write_log_line` is too complex (27 > 10)
- zerver/middleware.py:151:5: C901 `write_log_line` is too complex (27)
+ zerver/migrations/0209_user_profile_no_empty_password.py:18:5: C901 `ensure_no_empty_passwords` is too complex (11 > 10)
- zerver/migrations/0209_user_profile_no_empty_password.py:18:5: C901 `ensure_no_empty_passwords` is too complex (11)
+ zerver/models.py:2087:9: C901 `has_permission` is too complex (12 > 10)
- zerver/models.py:2087:9: C901 `has_permission` is too complex (12)
+ zerver/openapi/markdown_extension.py:267:5: C901 `generate_curl_example` is too complex (16 > 10)
- zerver/openapi/markdown_extension.py:267:5: C901 `generate_curl_example` is too complex (16)
+ zerver/openapi/openapi.py:385:5: C901 `validate_against_openapi_schema` is too complex (15 > 10)
- zerver/openapi/openapi.py:385:5: C901 `validate_against_openapi_schema` is too complex (15)
+ zerver/tests/test_events.py:370:9: C901 `match_states` is too complex (15 > 10)
- zerver/tests/test_events.py:370:9: C901 `match_states` is too complex (15)
+ zerver/tests/test_import_export.py:1584:9: C901 `test_user_data` is too complex (22 > 10)
- zerver/tests/test_import_export.py:1584:9: C901 `test_user_data` is too complex (22)
+ zerver/tests/test_import_export.py:702:9: C901 `test_import_realm` is too complex (11 > 10)
- zerver/tests/test_import_export.py:702:9: C901 `test_import_realm` is too complex (11)
+ zerver/tests/test_import_export.py:968:9: C901 `get_realm_getters` is too complex (44 > 10)
- zerver/tests/test_import_export.py:968:9: C901 `get_realm_getters` is too complex (44)
+ zerver/tests/test_openapi.py:477:9: C901 `test_openapi_arguments` is too complex (12 > 10)
- zerver/tests/test_openapi.py:477:9: C901 `test_openapi_arguments` is too complex (12)
+ zerver/tests/test_subs.py:2327:9: C901 `attempt_unsubscribe_of_principal` is too complex (11 > 10)
- zerver/tests/test_subs.py:2327:9: C901 `attempt_unsubscribe_of_principal` is too complex (11)
+ zerver/tests/test_subs.py:5749:9: C901 `test_never_subscribed_streams` is too complex (13 > 10)
- zerver/tests/test_subs.py:5749:9: C901 `test_never_subscribed_streams` is too complex (13)
+ zerver/tornado/event_queue.py:1337:5: C901 `process_notification` is too complex (11 > 10)
- zerver/tornado/event_queue.py:1337:5: C901 `process_notification` is too complex (11)
+ zerver/tornado/event_queue.py:653:5: C901 `fetch_events` is too complex (12 > 10)
- zerver/tornado/event_queue.py:653:5: C901 `fetch_events` is too complex (12)
+ zerver/tornado/event_queue.py:915:5: C901 `process_message_event` is too complex (13 > 10)
- zerver/tornado/event_queue.py:915:5: C901 `process_message_event` is too complex (13)
+ zerver/views/auth.py:142:5: C901 `maybe_send_to_registration` is too complex (13 > 10)
- zerver/views/auth.py:142:5: C901 `maybe_send_to_registration` is too complex (13)
+ zerver/views/auth.py:776:5: C901 `login_page` is too complex (16 > 10)
- zerver/views/auth.py:776:5: C901 `login_page` is too complex (16)
+ zerver/views/documentation.py:74:9: C901 `get_path` is too complex (12 > 10)
- zerver/views/documentation.py:74:9: C901 `get_path` is too complex (12)
+ zerver/views/message_fetch.py:83:5: C901 `get_messages_backend` is too complex (19 > 10)
- zerver/views/message_fetch.py:83:5: C901 `get_messages_backend` is too complex (19)
+ zerver/views/message_send.py:191:5: C901 `send_message_backend` is too complex (14 > 10)
- zerver/views/message_send.py:191:5: C901 `send_message_backend` is too complex (14)
+ zerver/views/realm.py:48:5: C901 `update_realm` is too complex (36 > 10)
- zerver/views/realm.py:48:5: C901 `update_realm` is too complex (36)
+ zerver/views/registration.py:173:5: C901 `registration_helper` is too complex (43 > 10)
- zerver/views/registration.py:173:5: C901 `registration_helper` is too complex (43)
+ zerver/views/registration.py:828:5: C901 `find_account` is too complex (11 > 10)
- zerver/views/registration.py:828:5: C901 `find_account` is too complex (11)
+ zerver/views/streams.py:254:5: C901 `update_stream_backend` is too complex (30 > 10)
- zerver/views/streams.py:254:5: C901 `update_stream_backend` is too complex (30)
+ zerver/views/streams.py:556:5: C901 `add_subscriptions_backend` is too complex (12 > 10)
- zerver/views/streams.py:556:5: C901 `add_subscriptions_backend` is too complex (12)
+ zerver/views/streams.py:691:5: C901 `send_messages_for_new_subscribers` is too complex (11 > 10)
- zerver/views/streams.py:691:5: C901 `send_messages_for_new_subscribers` is too complex (11)
+ zerver/views/user_settings.py:149:5: C901 `json_change_settings` is too complex (18 > 10)
- zerver/views/user_settings.py:149:5: C901 `json_change_settings` is too complex (18)
+ zerver/views/users.py:340:5: C901 `patch_bot_backend` is too complex (20 > 10)
- zerver/views/users.py:340:5: C901 `patch_bot_backend` is too complex (20)
+ zerver/views/users.py:461:5: C901 `add_bot_backend` is too complex (19 > 10)
- zerver/views/users.py:461:5: C901 `add_bot_backend` is too complex (19)
+ zerver/webhooks/bitbucket2/view.py:167:5: C901 `get_type` is too complex (12 > 10)
- zerver/webhooks/bitbucket2/view.py:167:5: C901 `get_type` is too complex (12)
+ zerver/webhooks/clubhouse/view.py:87:5: C901 `get_event` is too complex (17 > 10)
- zerver/webhooks/clubhouse/view.py:87:5: C901 `get_event` is too complex (17)
+ zerver/webhooks/github/view.py:625:5: C901 `get_subject_based_on_type` is too complex (12 > 10)
- zerver/webhooks/github/view.py:625:5: C901 `get_subject_based_on_type` is too complex (12)
+ zerver/webhooks/github/view.py:784:5: C901 `get_zulip_event_name` is too complex (21 > 10)
- zerver/webhooks/github/view.py:784:5: C901 `get_zulip_event_name` is too complex (21)
+ zerver/webhooks/grafana/view.py:49:5: C901 `api_grafana_webhook` is too complex (18 > 10)
- zerver/webhooks/grafana/view.py:49:5: C901 `api_grafana_webhook` is too complex (18)
+ zerver/webhooks/jira/view.py:201:5: C901 `handle_updated_issue_event` is too complex (13 > 10)
- zerver/webhooks/jira/view.py:201:5: C901 `handle_updated_issue_event` is too complex (13)
+ zerver/webhooks/newrelic/view.py:55:5: C901 `api_newrelic_webhook` is too complex (14 > 10)
- zerver/webhooks/newrelic/view.py:55:5: C901 `api_newrelic_webhook` is too complex (14)
+ zerver/webhooks/opbeat/view.py:60:5: C901 `format_object` is too complex (14 > 10)
- zerver/webhooks/opbeat/view.py:60:5: C901 `format_object` is too complex (14)
+ zerver/webhooks/pivotal/view.py:89:5: C901 `api_pivotal_webhook_v5` is too complex (21 > 10)
- zerver/webhooks/pivotal/view.py:89:5: C901 `api_pivotal_webhook_v5` is too complex (21)
+ zerver/webhooks/sentry/view.py:94:5: C901 `handle_event_payload` is too complex (11 > 10)
- zerver/webhooks/sentry/view.py:94:5: C901 `handle_event_payload` is too complex (11)
+ zerver/webhooks/slack_incoming/view.py:189:5: C901 `render_attachment` is too complex (15 > 10)
- zerver/webhooks/slack_incoming/view.py:189:5: C901 `render_attachment` is too complex (15)
+ zerver/webhooks/slack_incoming/view.py:30:5: C901 `api_slack_incoming_webhook` is too complex (14 > 10)
- zerver/webhooks/slack_incoming/view.py:30:5: C901 `api_slack_incoming_webhook` is too complex (14)
+ zerver/webhooks/slack_incoming/view.py:84:5: C901 `render_block` is too complex (16 > 10)
- zerver/webhooks/slack_incoming/view.py:84:5: C901 `render_block` is too complex (16)
+ zerver/webhooks/stripe/view.py:74:5: C901 `topic_and_body` is too complex (46 > 10)
- zerver/webhooks/stripe/view.py:74:5: C901 `topic_and_body` is too complex (46)
+ zerver/webhooks/taiga/view.py:207:5: C901 `parse_change_event` is too complex (15 > 10)
- zerver/webhooks/taiga/view.py:207:5: C901 `parse_change_event` is too complex (15)
+ zerver/webhooks/teamcity/view.py:54:5: C901 `api_teamcity_webhook` is too complex (12 > 10)
- zerver/webhooks/teamcity/view.py:54:5: C901 `api_teamcity_webhook` is too complex (12)
+ zerver/webhooks/thinkst/view.py:58:5: C901 `body` is too complex (13 > 10)
- zerver/webhooks/thinkst/view.py:58:5: C901 `body` is too complex (13)
+ zerver/webhooks/trello/view/card_actions.py:85:5: C901 `get_proper_action` is too complex (14 > 10)
- zerver/webhooks/trello/view/card_actions.py:85:5: C901 `get_proper_action` is too complex (14)
+ zerver/worker/queue_processors.py:957:9: C901 `consume` is too complex (13 > 10)
- zerver/worker/queue_processors.py:957:9: C901 `consume` is too complex (13)
+ zilencer/management/commands/populate_db.py:1018:5: C901 `generate_and_send_messages` is too complex (17 > 10)
- zilencer/management/commands/populate_db.py:1018:5: C901 `generate_and_send_messages` is too complex (17)
+ zilencer/management/commands/populate_db.py:288:9: C901 `handle` is too complex (37 > 10)
- zilencer/management/commands/populate_db.py:288:9: C901 `handle` is too complex (37)
+ zproject/backends.py:1456:5: C901 `social_associate_user_helper` is too complex (18 > 10)
- zproject/backends.py:1456:5: C901 `social_associate_user_helper` is too complex (18)
+ zproject/backends.py:1632:5: C901 `social_auth_finish` is too complex (13 > 10)
- zproject/backends.py:1632:5: C901 `social_auth_finish` is too complex (13)
+ zproject/backends.py:2516:9: C901 `auth_complete` is too complex (13 > 10)
- zproject/backends.py:2516:9: C901 `auth_complete` is too complex (13)
+ zproject/backends.py:914:9: C901 `get_or_build_user` is too complex (14 > 10)
- zproject/backends.py:914:9: C901 `get_or_build_user` is too complex (14) bokeh (+43, -43)
+ scripts/milestone.py:284:5: C901 `main` is too complex (12 > 10)
- scripts/milestone.py:284:5: C901 `main` is too complex (12)
+ src/bokeh/application/handlers/directory.py:113:9: C901 `__init__` is too complex (13 > 10)
- src/bokeh/application/handlers/directory.py:113:9: C901 `__init__` is too complex (13)
+ src/bokeh/command/subcommands/file_output.py:167:9: C901 `write_file` is too complex (13 > 10)
- src/bokeh/command/subcommands/file_output.py:167:9: C901 `write_file` is too complex (13)
+ src/bokeh/command/subcommands/serve.py:797:9: C901 `invoke` is too complex (31 > 10)
- src/bokeh/command/subcommands/serve.py:797:9: C901 `invoke` is too complex (31)
+ src/bokeh/core/has_props.py:608:9: C901 `query_properties_with_values` is too complex (11 > 10)
- src/bokeh/core/has_props.py:608:9: C901 `query_properties_with_values` is too complex (11)
+ src/bokeh/core/has_props.py:769:5: C901 `_HasProps_to_serializable` is too complex (11 > 10)
- src/bokeh/core/has_props.py:769:5: C901 `_HasProps_to_serializable` is too complex (11)
+ src/bokeh/core/property/bases.py:342:9: C901 `prepare_value` is too complex (13 > 10)
- src/bokeh/core/property/bases.py:342:9: C901 `prepare_value` is too complex (13)
+ src/bokeh/core/query.py:112:5: C901 `match` is too complex (21 > 10)
- src/bokeh/core/query.py:112:5: C901 `match` is too complex (21)
+ src/bokeh/core/serialization.py:259:9: C901 `_encode` is too complex (18 > 10)
- src/bokeh/core/serialization.py:259:9: C901 `_encode` is too complex (18)
+ src/bokeh/core/serialization.py:380:9: C901 `_encode_typed_array` is too complex (12 > 10)
- src/bokeh/core/serialization.py:380:9: C901 `_encode_typed_array` is too complex (12)
+ src/bokeh/core/serialization.py:386:13: C901 `dtype` is too complex (11 > 10)
- src/bokeh/core/serialization.py:386:13: C901 `dtype` is too complex (11)
+ src/bokeh/core/serialization.py:521:9: C901 `_decode` is too complex (18 > 10)
- src/bokeh/core/serialization.py:521:9: C901 `_decode` is too complex (18)
+ src/bokeh/embed/bundle.py:148:5: C901 `bundle_for_objs_and_resources` is too complex (20 > 10)
- src/bokeh/embed/bundle.py:148:5: C901 `bundle_for_objs_and_resources` is too complex (20)
+ src/bokeh/embed/bundle.py:282:5: C901 `_bundle_extensions` is too complex (13 > 10)
- src/bokeh/embed/bundle.py:282:5: C901 `_bundle_extensions` is too complex (13)
+ src/bokeh/embed/bundle.py:410:5: C901 `_model_requires_mathjax` is too complex (13 > 10)
- src/bokeh/embed/bundle.py:410:5: C901 `_model_requires_mathjax` is too complex (13)
+ src/bokeh/embed/util.py:291:5: C901 `standalone_docs_json_and_render_items` is too complex (12 > 10)
- src/bokeh/embed/util.py:291:5: C901 `standalone_docs_json_and_render_items` is too complex (12)
+ src/bokeh/embed/util.py:79:5: C901 `OutputDocumentFor` is too complex (12 > 10)
- src/bokeh/embed/util.py:79:5: C901 `OutputDocumentFor` is too complex (12)
+ src/bokeh/layouts.py:189:5: C901 `gridplot` is too complex (19 > 10)
- src/bokeh/layouts.py:189:5: C901 `gridplot` is too complex (19)
+ src/bokeh/layouts.py:319:5: C901 `grid` is too complex (31 > 10)
- src/bokeh/layouts.py:319:5: C901 `grid` is too complex (31)
+ src/bokeh/layouts.py:389:9: C901 `flatten` is too complex (17 > 10)
- src/bokeh/layouts.py:389:9: C901 `flatten` is too complex (17)
+ src/bokeh/layouts.py:507:5: C901 `group_tools` is too complex (14 > 10)
- src/bokeh/layouts.py:507:5: C901 `group_tools` is too complex (14)
+ src/bokeh/models/plots.py:460:9: C901 `_check_compatible_scale_and_ranges` is too complex (12 > 10)
- src/bokeh/models/plots.py:460:9: C901 `_check_compatible_scale_and_ranges` is too complex (12)
+ src/bokeh/models/sources.py:459:9: C901 `_stream` is too complex (14 > 10)
- src/bokeh/models/sources.py:459:9: C901 `_stream` is too complex (14)
+ src/bokeh/models/sources.py:571:9: C901 `patch` is too complex (20 > 10)
- src/bokeh/models/sources.py:571:9: C901 `patch` is too complex (20)
+ src/bokeh/models/util/structure.py:150:9: C901 `_make_graph` is too complex (11 > 10)
- src/bokeh/models/util/structure.py:150:9: C901 `_make_graph` is too complex (11)
+ src/bokeh/plotting/_graph.py:54:5: C901 `get_graph_kwargs` is too complex (12 > 10)
- src/bokeh/plotting/_graph.py:54:5: C901 `get_graph_kwargs` is too complex (12)
+ src/bokeh/plotting/_plot.py:139:5: C901 `_get_axis_class` is too complex (11 > 10)
- src/bokeh/plotting/_plot.py:139:5: C901 `_get_axis_class` is too complex (11)
+ src/bokeh/plotting/_plot.py:75:5: C901 `get_range` is too complex (11 > 10)
- src/bokeh/plotting/_plot.py:75:5: C901 `get_range` is too complex (11)
+ src/bokeh/plotting/_renderer.py:255:5: C901 `_process_sequence_literals` is too complex (15 > 10)
- src/bokeh/plotting/_renderer.py:255:5: C901 `_process_sequence_literals` is too complex (15)
+ src/bokeh/plotting/_tools.py:80:5: C901 `process_active_tools` is too complex (11 > 10)
- src/bokeh/plotting/_tools.py:80:5: C901 `process_active_tools` is too complex (11)
+ src/bokeh/plotting/contour.py:144:5: C901 `from_contour` is too complex (13 > 10)
- src/bokeh/plotting/contour.py:144:5: C901 `from_contour` is too complex (13)
+ src/bokeh/server/server.py:353:9: C901 `__init__` is too complex (12 > 10)
- src/bokeh/server/server.py:353:9: C901 `__init__` is too complex (12)
+ src/bokeh/server/tornado.py:254:9: C901 `__init__` is too complex (43 > 10)
- src/bokeh/server/tornado.py:254:9: C901 `__init__` is too complex (43)
+ src/bokeh/server/views/session_handler.py:84:15: C901 `get_session` is too complex (12 > 10)
- src/bokeh/server/views/session_handler.py:84:15: C901 `get_session` is too complex (12)
+ src/bokeh/util/compiler.py:506:5: C901 `_bundle_models` is too complex (18 > 10)
- src/bokeh/util/compiler.py:506:5: C901 `_bundle_models` is too complex (18)
+ src/bokeh/util/compiler.py:525:9: C901 `resolve_modules` is too complex (11 > 10)
- src/bokeh/util/compiler.py:525:9: C901 `resolve_modules` is too complex (11)
+ src/bokeh/util/package.py:42:5: C901 `validate` is too complex (13 > 10)
- src/bokeh/util/package.py:42:5: C901 `validate` is too complex (13)
+ tests/codebase/test_code_quality.py:92:5: C901 `collect_errors` is too complex (15 > 10)
- tests/codebase/test_code_quality.py:92:5: C901 `collect_errors` is too complex (15)
+ tests/support/plugins/bokeh_server.py:55:5: C901 `bokeh_server` is too complex (14 > 10)
- tests/support/plugins/bokeh_server.py:55:5: C901 `bokeh_server` is too complex (14)
+ tests/support/plugins/jupyter_notebook.py:61:5: C901 `jupyter_notebook` is too complex (17 > 10)
- tests/support/plugins/jupyter_notebook.py:61:5: C901 `jupyter_notebook` is too complex (17)
+ tests/support/util/compare.py:60:5: C901 `cds_data_almost_equal` is too complex (12 > 10)
- tests/support/util/compare.py:60:5: C901 `cds_data_almost_equal` is too complex (12)
+ tests/support/util/examples.py:154:5: C901 `add_examples` is too complex (15 > 10)
- tests/support/util/examples.py:154:5: C901 `add_examples` is too complex (15)
+ tests/unit/bokeh/plotting/test_figure.py:388:5: C901 `Test_figure_legends_DEPRECATED` is too complex (13 > 10)
- tests/unit/bokeh/plotting/test_figure.py:388:5: C901 `Test_figure_legends_DEPRECATED` is too complex (13) scikit-build (+4, -4)
+ skbuild/cmaker.py:179:9: C901 `configure` is too complex (15 > 10)
- skbuild/cmaker.py:179:9: C901 `configure` is too complex (15)
+ skbuild/cmaker.py:516:9: C901 `_guess_python_library` is too complex (14 > 10)
- skbuild/cmaker.py:516:9: C901 `_guess_python_library` is too complex (14)
+ skbuild/setuptools_wrap.py:383:5: C901 `setup` is too complex (47 > 10)
- skbuild/setuptools_wrap.py:383:5: C901 `setup` is too complex (47)
+ skbuild/setuptools_wrap.py:835:5: C901 `_classify_file` is too complex (11 > 10)
- skbuild/setuptools_wrap.py:835:5: C901 `_classify_file` is too complex (11) airflow (+183, -183)
+ airflow/api/common/mark_tasks.py:424:5: C901 `set_dag_run_state_to_failed` is too complex (12 > 10)
- airflow/api/common/mark_tasks.py:424:5: C901 `set_dag_run_state_to_failed` is too complex (12)
+ airflow/api/common/mark_tasks.py:79:5: C901 `set_state` is too complex (13 > 10)
- airflow/api/common/mark_tasks.py:79:5: C901 `set_state` is too complex (13)
+ airflow/api_connexion/endpoints/user_endpoint.py:128:5: C901 `patch_user` is too complex (18 > 10)
- airflow/api_connexion/endpoints/user_endpoint.py:128:5: C901 `patch_user` is too complex (18)
+ airflow/cli/commands/celery_command.py:100:5: C901 `worker` is too complex (11 > 10)
- airflow/cli/commands/celery_command.py:100:5: C901 `worker` is too complex (11)
+ airflow/cli/commands/connection_command.py:200:5: C901 `connections_add` is too complex (15 > 10)
- airflow/cli/commands/connection_command.py:200:5: C901 `connections_add` is too complex (15)
+ airflow/cli/commands/dag_command.py:51:5: C901 `dag_backfill` is too complex (13 > 10)
- airflow/cli/commands/dag_command.py:51:5: C901 `dag_backfill` is too complex (13)
+ airflow/cli/commands/db_command.py:50:5: C901 `upgradedb` is too complex (13 > 10)
- airflow/cli/commands/db_command.py:50:5: C901 `upgradedb` is too complex (13)
+ airflow/cli/commands/db_command.py:95:5: C901 `downgrade` is too complex (14 > 10)
- airflow/cli/commands/db_command.py:95:5: C901 `downgrade` is too complex (14)
+ airflow/cli/commands/task_command.py:346:5: C901 `task_run` is too complex (11 > 10)
- airflow/cli/commands/task_command.py:346:5: C901 `task_run` is too complex (11)
+ airflow/cli/commands/task_command.py:562:5: C901 `task_test` is too complex (11 > 10)
- airflow/cli/commands/task_command.py:562:5: C901 `task_test` is too complex (11)
+ airflow/cli/commands/webserver_command.py:322:5: C901 `webserver` is too complex (14 > 10)
- airflow/cli/commands/webserver_command.py:322:5: C901 `webserver` is too complex (14)
+ airflow/configuration.py:557:9: C901 `get` is too complex (11 > 10)
- airflow/configuration.py:557:9: C901 `get` is too complex (11)
+ airflow/configuration.py:915:9: C901 `getsection` is too complex (13 > 10)
- airflow/configuration.py:915:9: C901 `getsection` is too complex (13)
+ airflow/configuration.py:983:9: C901 `as_dict` is too complex (11 > 10)
- airflow/configuration.py:983:9: C901 `as_dict` is too complex (11)
+ airflow/dag_processing/manager.py:1079:9: C901 `prepare_file_path_queue` is too complex (11 > 10)
- airflow/dag_processing/manager.py:1079:9: C901 `prepare_file_path_queue` is too complex (11)
+ airflow/dag_processing/manager.py:552:9: C901 `_run_parsing_loop` is too complex (22 > 10)
- airflow/dag_processing/manager.py:552:9: C901 `_run_parsing_loop` is too complex (22)
+ airflow/dag_processing/processor.py:370:9: C901 `manage_slas` is too complex (26 > 10)
- airflow/dag_processing/processor.py:370:9: C901 `manage_slas` is too complex (26)
+ airflow/decorators/base.py:223:9: C901 `_handle_output` is too complex (11 > 10)
- airflow/decorators/base.py:223:9: C901 `_handle_output` is too complex (11)
+ airflow/executors/kubernetes_executor.py:497:9: C901 `clear_not_launched_queued_tasks` is too complex (11 > 10)
- airflow/executors/kubernetes_executor.py:497:9: C901 `clear_not_launched_queued_tasks` is too complex (11)
+ airflow/executors/kubernetes_executor.py:630:9: C901 `sync` is too complex (14 > 10)
- airflow/executors/kubernetes_executor.py:630:9: C901 `sync` is too complex (14)
+ airflow/jobs/backfill_job.py:167:9: C901 `_update_counters` is too complex (11 > 10)
- airflow/jobs/backfill_job.py:167:9: C901 `_update_counters` is too complex (11)
+ airflow/jobs/backfill_job.py:409:9: C901 `_process_backfill_task_instances` is too complex (41 > 10)
- airflow/jobs/backfill_job.py:409:9: C901 `_process_backfill_task_instances` is too complex (41)
+ airflow/jobs/backfill_job.py:443:17: C901 `_per_task_process` is too complex (21 > 10)
- airflow/jobs/backfill_job.py:443:17: C901 `_per_task_process` is too complex (21)
+ airflow/jobs/backfill_job.py:791:9: C901 `_execute` is too complex (14 > 10)
- airflow/jobs/backfill_job.py:791:9: C901 `_execute` is too complex (14)
+ airflow/jobs/scheduler_job.py:245:9: C901 `_executable_task_instances_to_queued` is too complex (25 > 10)
- airflow/jobs/scheduler_job.py:245:9: C901 `_executable_task_instances_to_queued` is too complex (25)
+ airflow/jobs/triggerer_job.py:80:5: C901 `configure_trigger_log_handler` is too complex (25 > 10)
- airflow/jobs/triggerer_job.py:80:5: C901 `configure_trigger_log_handler` is too complex (25)
+ airflow/kubernetes/pod_generator_deprecated.py:123:9: C901 `__init__` is too complex (11 > 10)
- airflow/kubernetes/pod_generator_deprecated.py:123:9: C901 `__init__` is too complex (11)
+ airflow/migrations/versions/0001_1_5_0_current_schema.py:41:5: C901 `upgrade` is too complex (14 > 10)
- airflow/migrations/versions/0001_1_5_0_current_schema.py:41:5: C901 `upgrade` is too complex (14)
+ airflow/models/abstractoperator.py:389:9: C901 `expand_mapped_task` is too complex (12 > 10)
- airflow/models/abstractoperator.py:389:9: C901 `expand_mapped_task` is too complex (12)
+ airflow/models/baseoperator.py:321:9: C901 `_apply_defaults` is too complex (12 > 10)
- airflow/models/baseoperator.py:321:9: C901 `_apply_defaults` is too complex (12)
+ airflow/models/baseoperator.py:350:13: C901 `apply_defaults` is too complex (11 > 10)
- airflow/models/baseoperator.py:350:13: C901 `apply_defaults` is too complex (11)
+ airflow/models/baseoperator.py:692:9: C901 `__init__` is too complex (20 > 10)
- airflow/models/baseoperator.py:692:9: C901 `__init__` is too complex (20)
+ airflow/models/connection.py:206:9: C901 `get_uri` is too complex (13 > 10)
- airflow/models/connection.py:206:9: C901 `get_uri` is too complex (13)
+ airflow/models/dag.py:1596:9: C901 `_get_task_instances` is too complex (35 > 10)
- airflow/models/dag.py:1596:9: C901 `_get_task_instances` is too complex (35)
+ airflow/models/dag.py:2157:9: C901 `partial_subset` is too complex (19 > 10)
- airflow/models/dag.py:2157:9: C901 `partial_subset` is too complex (19)
+ airflow/models/dag.py:2563:9: C901 `create_dagrun` is too complex (12 > 10)
- airflow/models/dag.py:2563:9: C901 `create_dagrun` is too complex (12)
+ airflow/models/dag.py:2692:9: C901 `bulk_write_to_db` is too complex (33 > 10)
- airflow/models/dag.py:2692:9: C901 `bulk_write_to_db` is too complex (33)
+ airflow/models/dag.py:381:9: C901 `__init__` is too complex (28 > 10)
- airflow/models/dag.py:381:9: C901 `__init__` is too complex (28)
+ airflow/models/dagbag.py:175:9: C901 `get_dag` is too complex (13 > 10)
- airflow/models/dagbag.py:175:9: C901 `get_dag` is too complex (13)
+ airflow/models/dagbag.py:457:9: C901 `_bag_dag` is too complex (11 > 10)
- airflow/models/dagbag.py:457:9: C901 `_bag_dag` is too complex (11)
+ airflow/models/dagrun.py:337:9: C901 `find` is too complex (13 > 10)
- airflow/models/dagrun.py:337:9: C901 `find` is too complex (13)
+ airflow/models/dagrun.py:522:9: C901 `update_state` is too complex (14 > 10)
- airflow/models/dagrun.py:522:9: C901 `update_state` is too complex (14)
+ airflow/models/dagrun.py:744:9: C901 `_get_ready_tis` is too complex (13 > 10)
- airflow/models/dagrun.py:744:9: C901 `_get_ready_tis` is too complex (13)
+ airflow/models/dagrun.py:953:9: C901 `_check_for_removed_or_restored_tasks` is too complex (14 > 10)
- airflow/models/dagrun.py:953:9: C901 `_check_for_removed_or_restored_tasks` is too complex (14)
+ airflow/models/expandinput.py:161:9: C901 `_expand_mapped_field` is too complex (12 > 10)
- airflow/models/expandinput.py:161:9: C901 `_expand_mapped_field` is too complex (12)
+ airflow/models/taskinstance.py:1219:9: C901 `check_and_change_state_before_execution` is too complex (12 > 10)
- airflow/models/taskinstance.py:1219:9: C901 `check_and_change_state_before_execution` is too complex (12)
+ airflow/models/taskinstance.py:1383:9: C901 `_run_raw_task` is too complex (18 > 10)
- airflow/models/taskinstance.py:1383:9: C901 `_run_raw_task` is too complex (18)
+ airflow/models/taskinstance.py:1830:9: C901 `handle_failure` is too complex (16 > 10)
- airflow/models/taskinstance.py:1830:9: C901 `handle_failure` is too complex (16)
+ airflow/models/taskinstance.py:183:5: C901 `clear_task_instances` is too complex (14 > 10)
- airflow/models/taskinstance.py:183:5: C901 `clear_task_instances` is too complex (14)
+ airflow/models/taskinstance.py:1935:9: C901 `get_template_context` is too complex (35 > 10)
- airflow/models/taskinstance.py:1935:9: C901 `get_template_context` is too complex (35)
+ airflow/models/taskinstance.py:2390:9: C901 `xcom_pull` is too complex (11 > 10)
- airflow/models/taskinstance.py:2390:9: C901 `xcom_pull` is too complex (11)
+ airflow/models/taskinstance.py:2506:9: C901 `filter_for_tis` is too complex (12 > 10)
- airflow/models/taskinstance.py:2506:9: C901 `filter_for_tis` is too complex (12)
+ airflow/models/taskinstance.py:669:9: C901 `generate_command` is too complex (15 > 10)
- airflow/models/taskinstance.py:669:9: C901 `generate_command` is too complex (15)
+ airflow/models/taskmixin.py:165:9: C901 `_set_relatives` is too complex (15 > 10)
- airflow/models/taskmixin.py:165:9: C901 `_set_relatives` is too complex (15)
+ airflow/models/xcom.py:462:9: C901 `get_many` is too complex (15 > 10)
- airflow/models/xcom.py:462:9: C901 `get_many` is too complex (15)
+ airflow/operators/trigger_dagrun.py:120:9: C901 `execute` is too complex (13 > 10)
- airflow/operators/trigger_dagrun.py:120:9: C901 `execute` is too complex (13)
+ airflow/providers/amazon/aws/hooks/sagemaker.py:557:9: C901 `describe_training_job_with_log` is too complex (11 > 10)
- airflow/providers/amazon/aws/hooks/sagemaker.py:557:9: C901 `describe_training_job_with_log` is too complex (11)
+ airflow/providers/amazon/aws/operators/ecs.py:529:9: C901 `_start_task` is too complex (12 > 10)
- airflow/providers/amazon/aws/operators/ecs.py:529:9: C901 `_start_task` is too complex (12)
+ airflow/providers/amazon/aws/operators/ecs.py:621:9: C901 `_check_success_task` is too complex (11 > 10)
- airflow/providers/amazon/aws/operators/ecs.py:621:9: C901 `_check_success_task` is too complex (11)
+ airflow/providers/amazon/aws/operators/eks.py:167:9: C901 `execute` is too complex (11 > 10)
- airflow/providers/amazon/aws/operators/eks.py:167:9: C901 `execute` is too complex (11)
+ airflow/providers/amazon/aws/operators/redshift_cluster.py:185:9: C901 `execute` is too complex (31 > 10)
- airflow/providers/amazon/aws/operators/redshift_cluster.py:185:9: C901 `execute` is too complex (31)
+ airflow/providers/amazon/aws/utils/connection_wrapper.py:131:9: C901 `__post_init__` is too complex (21 > 10)
- airflow/providers/amazon/aws/utils/connection_wrapper.py:131:9: C901 `__post_init__` is too complex (21)
+ airflow/providers/apache/hive/hooks/hive.py:295:9: C901 `test_hql` is too complex (11 > 10)
- airflow/providers/apache/hive/hooks/hive.py:295:9: C901 `test_hql` is too complex (11)
+ airflow/providers/apache/livy/hooks/livy.py:332:9: C901 `build_post_batch_body` is too complex (16 > 10)
- airflow/providers/apache/livy/hooks/livy.py:332:9: C901 `build_post_batch_body` is too complex (16)
+ airflow/providers/apache/livy/hooks/livy.py:719:9: C901 `build_post_batch_body` is too complex (16 > 10)
- airflow/providers/apache/livy/hooks/livy.py:719:9: C901 `build_post_batch_body` is too complex (16)
+ airflow/providers/apache/pinot/hooks/pinot.py:115:9: C901 `create_segment` is too complex (19 > 10)
- airflow/providers/apache/pinot/hooks/pinot.py:115:9: C901 `create_segment` is too complex (19)
+ airflow/providers/apache/spark/hooks/spark_jdbc.py:177:9: C901 `_build_jdbc_application_arguments` is too complex (15 > 10)
- airflow/providers/apache/spark/hooks/spark_jdbc.py:177:9: C901 `_build_jdbc_application_arguments` is too complex (15)
+ airflow/providers/apache/spark/hooks/spark_sql.py:113:9: C901 `_prepare_command` is too complex (17 > 10)
- airflow/providers/apache/spark/hooks/spark_sql.py:113:9: C901 `_prepare_command` is too complex (17)
+ airflow/providers/apache/spark/hooks/spark_submit.py:263:9: C901 `_build_spark_submit_command` is too complex (30 > 10)
- airflow/providers/apache/spark/hooks/spark_submit.py:263:9: C901 `_build_spark_submit_command` is too complex (30)
+ airflow/providers/apache/sqoop/hooks/sqoop.py:116:9: C901 `_prepare_command` is too complex (17 > 10)
- airflow/providers/apache/sqoop/hooks/sqoop.py:116:9: C901 `_prepare_command` is too complex (17)
+ airflow/providers/apache/sqoop/hooks/sqoop.py:289:9: C901 `_export_cmd` is too complex (17 > 10)
- airflow/providers/apache/sqoop/hooks/sqoop.py:289:9: C901 `_export_cmd` is too complex (17)
+ airflow/providers/common/sql/operators/sql.py:1072:9: C901 `execute` is too complex (13 > 10)
- airflow/providers/common/sql/operators/sql.py:1072:9: C901 `execute` is too complex (13)
+ airflow/providers/common/sql/operators/sql.py:442:9: C901 `_get_match` is too complex (12 > 10)
- airflow/providers/common/sql/operators/sql.py:442:9: C901 `_get_match` is too complex (12)
+ airflow/providers/common/sql/operators/sql.py:477:9: C901 `_column_mapping_validation` is too complex (14 > 10)
- airflow/providers/common/sql/operators/sql.py:477:9: C901 `_column_mapping_validation` is too complex (14)
+ airflow/providers/databricks/operators/databricks.py:283:9: C901 `__init__` is too complex (18 > 10)
- airflow/providers/databricks/operators/databricks.py:283:9: C901 `__init__` is too complex (18)
+ airflow/providers/databricks/operators/databricks.py:41:5: C901 `_handle_databricks_operator_execution` is too complex (13 > 10)
- airflow/providers/databricks/operators/databricks.py:41:5: C901 `_handle_databricks_operator_execution` is too complex (13)
+ airflow/providers/databricks/operators/databricks_sql.py:302:9: C901 `_create_sql_query` is too complex (13 > 10)
- airflow/providers/databricks/operators/databricks_sql.py:302:9: C901 `_create_sql_query` is too complex (13)
+ airflow/providers/docker/operators/docker.py:325:9: C901 `_run_image_with_mounts` is too complex (15 > 10)
- airflow/providers/docker/operators/docker.py:325:9: C901 `_run_image_with_mounts` is too complex (15)
+ airflow/providers/google/cloud/hooks/bigquery.py:1573:9: C901 `run_load` is too complex (17 > 10)
- airflow/providers/google/cloud/hooks/bigquery.py:1573:9: C901 `run_load` is too complex (17)
+ airflow/providers/google/cloud/hooks/bigquery.py:1972:9: C901 `run_query` is too complex (23 > 10)
- airflow/providers/google/cloud/hooks/bigquery.py:1972:9: C901 `run_query` is too complex (23)
+ airflow/providers/google/cloud/hooks/bigquery.py:2208:9: C901 `split_tablename` is too complex (14 > 10)
- airflow/providers/google/cloud/hooks/bigquery.py:2208:9: C901 `split_tablename` is too complex (14)
+ airflow/providers/google/cloud/hooks/bigquery.py:2857:5: C901 `split_tablename` is too complex (14 > 10)
- airflow/providers/google/cloud/hooks/bigquery.py:2857:5: C901 `split_tablename` is too complex (14)
+ airflow/providers/google/cloud/hooks/bigquery.py:726:9: C901 `patch_table` is too complex (11 > 10)
- airflow/providers/google/cloud/hooks/bigquery.py:726:9: C901 `patch_table` is too complex (11)
+ airflow/providers/google/cloud/hooks/cloud_sql.py:857:9: C901 `_generate_connection_uri` is too complex (13 > 10)
- airflow/providers/google/cloud/hooks/cloud_sql.py:857:9: C901 `_generate_connection_uri` is too complex (13)
+ airflow/providers/google/cloud/hooks/compute_ssh.py:141:9: C901 `_load_connection_config` is too complex (11 > 10)
- airflow/providers/google/cloud/hooks/compute_ssh.py:141:9: C901 `_load_connection_config` is too complex (11)
+ airflow/providers/google/cloud/hooks/gcs.py:451:9: C901 `upload` is too complex (15 > 10)
- airflow/providers/google/cloud/hooks/gcs.py:451:9: C901 `upload` is too complex (15)
+ airflow/providers/google/cloud/hooks/stackdriver.py:219:9: C901 `upsert_alert` is too complex (11 > 10)
- airflow/providers/google/cloud/hooks/stackdriver.py:219:9: C901 `upsert_alert` is too complex (11)
+ airflow/providers/google/cloud/operators/bigquery.py:1499:9: C901 `__init__` is too complex (12 > 10)
- airflow/providers/google/cloud/operators/bigquery.py:1499:9: C901 `__init__` is too complex (12)
+ airflow/providers/google/cloud/operators/dataproc.py:2266:9: C901 `execute` is too complex (12 > 10)
- airflow/providers/google/cloud/operators/dataproc.py:2266:9: C901 `execute` is too complex (12)
+ airflow/providers/google/cloud/operators/dataproc.py:283:9: C901 `_build_cluster_data` is too complex (16 > 10)
- airflow/providers/google/cloud/operators/dataproc.py:283:9: C901 `_build_cluster_data` is too complex (16)
+ airflow/providers/google/cloud/operators/mlengine.py:1269:9: C901 `execute` is too complex (18 > 10)
- airflow/providers/google/cloud/operators/mlengine.py:1269:9: C901 `execute` is too complex (18)
+ airflow/providers/google/cloud/transfers/cassandra_to_gcs.py:273:9: C901 `convert_value` is too complex (13 > 10)
- airflow/providers/google/cloud/transfers/cassandra_to_gcs.py:273:9: C901 `convert_value` is too complex (13)
+ airflow/providers/google/cloud/transfers/gcs_to_bigquery.py:322:9: C901 `execute` is too complex (16 > 10)
- airflow/providers/google/cloud/transfers/gcs_to_bigquery.py:322:9: C901 `execute` is too complex (16)
+ airflow/providers/google/cloud/transfers/gcs_to_bigquery.py:581:9: C901 `_use_existing_table` is too complex (13 > 10)
- airflow/providers/google/cloud/transfers/gcs_to_bigquery.py:581:9: C901 `_use_existing_table` is too complex (13)
+ airflow/providers/google/cloud/transfers/sql_to_gcs.py:225:9: C901 `_write_local_data_files` is too complex (20 > 10)
- airflow/providers/google/cloud/transfers/sql_to_gcs.py:225:9: C901 `_write_local_data_files` is too complex (20)
+ airflow/providers/google/cloud/utils/field_validator.py:310:9: C901 `_validate_field` is too complex (15 > 10)
- airflow/providers/google/cloud/utils/field_validator.py:310:9: C901 `_validate_field` is too complex (15)
+ airflow/providers/hashicorp/_internal_client/vault_client.py:186:9: C901 `_client` is too complex (12 > 10)
- airflow/providers/hashicorp/_internal_client/vault_client.py:186:9: C901 `_client` is too complex (12)
+ airflow/providers/hashicorp/_internal_client/vault_client.py:87:9: C901 `__init__` is too complex (15 > 10)
- airflow/providers/hashicorp/_internal_client/vault_client.py:87:9: C901 `__init__` is too complex (15)
+ airflow/providers/hashicorp/hooks/vault.py:107:9: C901 `__init__` is too complex (19 > 10)
- airflow/providers/hashicorp/hooks/vault.py:107:9: C901 `__init__` is too complex (19)
+ airflow/providers/microsoft/azure/hooks/adx.py:122:9: C901 `get_conn` is too complex (12 > 10)
- airflow/providers/microsoft/azure/hooks/adx.py:122:9: C901 `get_conn` is too complex (12)
+ airflow/providers/microsoft/azure/operators/batch.py:181:9: C901 `_check_inputs` is too complex (13 > 10)
- airflow/providers/microsoft/azure/operators/batch.py:181:9: C901 `_check_inputs` is too complex (13)
+ airflow/providers/microsoft/azure/operators/container_instances.py:188:9: C901 `execute` is too complex (12 > 10)
- airflow/providers/microsoft/azure/operators/container_instances.py:188:9: C901 `execute` is too complex (12)
+ airflow/providers/microsoft/azure/operators/container_instances.py:289:9: C901 `_monitor_logging` is too complex (13 > 10)
- airflow/providers/microsoft/azure/operators/container_instances.py:289:9: C901 `_monitor_logging` is too complex (13)
+ airflow/providers/microsoft/winrm/hooks/winrm.py:119:9: C901 `get_conn` is too complex (28 > 10)
- airflow/providers/microsoft/winrm/hooks/winrm.py:119:9: C901 `get_conn` is too complex (28)
+ airflow/providers/microsoft/winrm/operators/winrm.py:79:9: C901 `execute` is too complex (14 > 10)
- airflow/providers/microsoft/winrm/operators/winrm.py:79:9: C901 `execute` is too complex (14)
+ airflow/providers/mysql/hooks/mysql.py:98:9: C901 `_get_conn_config_mysql_client` is too complex (13 > 10)
- airflow/providers/mysql/hooks/mysql.py:98:9: C901 `_get_conn_config_mysql_client` is too complex (13)
+ airflow/providers/oracle/hooks/oracle.py:123:9: C901 `get_conn` is too complex (27 > 10)
- airflow/providers/oracle/hooks/oracle.py:123:9: C901 `get_conn` is too complex (27)
+ airflow/providers/oracle/hooks/oracle.py:254:9: C901 `insert_rows` is too complex (11 > 10)
- airflow/providers/oracle/hooks/oracle.py:254:9: C901 `insert_rows` is too complex (11)
+ airflow/providers/sendgrid/utils/emailer.py:50:5: C901 `send_email` is too complex (12 > 10)
- airflow/providers/sendgrid/utils/emailer.py:50:5: C901 `send_email` is too complex (12)
+ airflow/providers/sftp/operators/sftp.py:106:9: C901 `execute` is too complex (18 > 10)
- airflow/providers/sftp/operators/sftp.py:106:9: C901 `execute` is too complex (18)
+ airflow/providers/singularity/operators/singularity.py:99:9: C901 `execute` is too complex (11 > 10)
- airflow/providers/singularity/operators/singularity.py:99:9: C901 `execute` is too complex (11)
+ airflow/providers/slack/hooks/slack_webhook.py:139:9: C901 `__init__` is too complex (11 > 10)
- airflow/providers/slack/hooks/slack_webhook.py:139:9: C901 `__init__` is too complex (11)
+ airflow/providers/slack/hooks/slack_webhook.py:242:9: C901 `_get_conn_params` is too complex (11 > 10)
- airflow/providers/slack/hooks/slack_webhook.py:242:9: C901 `_get_conn_params` is too complex (11)
+ airflow/providers/ssh/hooks/ssh.py:105:9: C901 `__init__` is too complex (32 > 10)
- airflow/providers/ssh/hooks/ssh.py:105:9: C901 `__init__` is too complex (32)
+ airflow/providers/ssh/hooks/ssh.py:283:9: C901 `get_conn` is too complex (13 > 10)
- airflow/providers/ssh/hooks/ssh.py:283:9: C901 `get_conn` is too complex (13)
+ airflow/providers/ssh/hooks/ssh.py:468:9: C901 `exec_ssh_client_command` is too complex (13 > 10)
- airflow/providers/ssh/hooks/ssh.py:468:9: C901 `exec_ssh_client_command` is too complex (13)
+ airflow/providers_manager.py:756:9: C901 `_import_hook` is too complex (17 > 10)
- airflow/providers_manager.py:756:9: C901 `_import_hook` is too complex (17)
+ airflow/sensors/base.py:167:9: C901 `execute` is too complex (12 > 10)
- airflow/sensors/base.py:167:9: C901 `execute` is too complex (12)
+ airflow/sensors/external_task.py:218:9: C901 `poke` is too complex (17 > 10)
- airflow/sensors/external_task.py:218:9: C901 `poke` is too complex (17)
+ airflow/serialization/serde.py:164:5: C901 `deserialize` is too complex (15 > 10)
- airflow/serialization/serde.py:164:5: C901 `deserialize` is too complex (15)
+ airflow/serialization/serde.py:73:5: C901 `serialize` is too complex (16 > 10)
- airflow/serialization/serde.py:73:5: C901 `serialize` is too complex (16)
+ airflow/serialization/serialized_objects.py:1202:9: C901 `deserialize_dag` is too complex (25 > 10)
- airflow/serialization/serialized_objects.py:1202:9: C901 `deserialize_dag` is too complex (25)
+ airflow/serialization/serialized_objects.py:386:9: C901 `serialize` is too complex (24 > 10)
- airflow/serialization/serialized_objects.py:386:9: C901 `serialize` is too complex (24)
+ airflow/serialization/serialized_objects.py:459:9: C901 `deserialize` is too complex (19 > 10)
- airflow/serialization/serialized_objects.py:459:9: C901 `deserialize` is too complex (19)
+ airflow/serialization/serialized_objects.py:817:9: C901 `populate_operator` is too complex (33 > 10)
- airflow/serialization/serialized_objects.py:817:9: C901 `populate_operator` is too complex (33)
+ airflow/template/templater.py:115:9: C901 `render_template` is too complex (12 > 10)
- airflow/template/templater.py:115:9: C901 `render_template` is too complex (12)
+ airflow/ti_deps/deps/prev_dagrun_dep.py:46:9: C901 `_get_dep_statuses` is too complex (12 > 10)
- airflow/ti_deps/deps/prev_dagrun_dep.py:46:9: C901 `_get_dep_statuses` is too complex (12)
+ airflow/ti_deps/deps/trigger_rule_dep.py:96:9: C901 `_evaluate_trigger_rule` is too complex (70 > 10)
- airflow/ti_deps/deps/trigger_rule_dep.py:96:9: C901 `_evaluate_trigger_rule` is too complex (70)
+ airflow/utils/dag_edges.py:24:5: C901 `dag_edges` is too complex (18 > 10)
- airflow/utils/dag_edges.py:24:5: C901 `dag_edges` is too complex (18)
+ airflow/utils/dag_edges.py:57:9: C901 `collect_edges` is too complex (11 > 10)
- airflow/utils/dag_edges.py:57:9: C901 `collect_edges` is too complex (11)
+ airflow/utils/dates.py:39:5: C901 `date_range` is too complex (20 > 10)
- airflow/utils/dates.py:39:5: C901 `date_range` is too complex (20)
+ airflow/utils/db.py:1513:5: C901 `upgradedb` is too complex (13 > 10)
- airflow/utils/db.py:1513:5: C901 `upgradedb` is too complex (13)
+ airflow/utils/email.py:219:5: C901 `send_mime_email` is too complex (11 > 10)
- airflow/utils/email.py:219:5: C901 `send_mime_email` is too complex (11)
+ airflow/utils/helpers.py:327:5: C901 `prune_dict` is too complex (14 > 10)
- airflow/utils/helpers.py:327:5: C901 `prune_dict` is too complex (14)
+ airflow/utils/log/secrets_masker.py:222:9: C901 `_redact` is too complex (11 > 10)
- airflow/utils/log/secrets_masker.py:222:9: C901 `_redact` is too complex (11)
+ airflow/utils/log/secrets_masker.py:313:9: C901 `add_mask` is too complex (11 > 10)
- airflow/utils/log/secrets_masker.py:313:9: C901 `add_mask` is too complex (11)
+ airflow/utils/operator_helpers.py:63:5: C901 `context_to_airflow_vars` is too complex (13 > 10)
- airflow/utils/operator_helpers.py:63:5: C901 `context_to_airflow_vars` is too complex (13)
+ airflow/utils/orm_event_handlers.py:33:5: C901 `setup_event_handlers` is too complex (11 > 10)
- airflow/utils/orm_event_handlers.py:33:5: C901 `setup_event_handlers` is too complex (11)
+ airflow/utils/process_utils.py:53:5: C901 `reap_process_group` is too complex (21 > 10)
- airflow/utils/process_utils.py:53:5: C901 `reap_process_group` is too complex (21)
+ airflow/utils/serve_logs.py:43:5: C901 `create_app` is too complex (12 > 10)
- airflow/utils/serve_logs.py:43:5: C901 `create_app` is too complex (12)
+ airflow/utils/task_group.py:212:9: C901 `add` is too complex (11 > 10)
- airflow/utils/task_group.py:212:9: C901 `add` is too complex (11)
+ airflow/utils/task_group.py:294:9: C901 `update_relative` is too complex (11 > 10)
- airflow/utils/task_group.py:294:9: C901 `update_relative` is too complex (11)
+ airflow/utils/task_group.py:457:9: C901 `topological_sort` is too complex (11 > 10)
- airflow/utils/task_group.py:457:9: C901 `topological_sort` is too complex (11)
+ airflow/utils/task_group.py:84:9: C901 `__init__` is too complex (12 > 10)
- airflow/utils/task_group.py:84:9: C901 `__init__` is too complex (12)
+ airflow/www/fab_security/manager.py:1055:9: C901 `auth_user_ldap` is too complex (31 > 10)
- airflow/www/fab_security/manager.py:1055:9: C901 `auth_user_ldap` is too complex (31)
+ airflow/www/fab_security/manager.py:1445:9: C901 `add_permissions_view` is too complex (12 > 10)
- airflow/www/fab_security/manager.py:1445:9: C901 `add_permissions_view` is too complex (12)
+ airflow/www/fab_security/manager.py:734:9: C901 `register_views` is too complex (18 > 10)
- airflow/www/fab_security/manager.py:734:9: C901 `register_views` is too complex (18)
+ airflow/www/security.py:642:9: C901 `_sync_dag_view_permissions` is too complex (13 > 10)
- airflow/www/security.py:642:9: C901 `_sync_dag_view_permissions` is too complex (13)
+ airflow/www/views.py:1326:9: C901 `rendered_templates` is too complex (14 > 10)
- airflow/www/views.py:1326:9: C901 `rendered_templates` is too complex (14)
+ airflow/www/views.py:1885:9: C901 `trigger` is too complex (27 > 10)
- airflow/www/views.py:1885:9: C901 `trigger` is too complex (27)
+ airflow/www/views.py:272:5: C901 `dag_to_grid` is too complex (21 > 10)
- airflow/www/views.py:272:5: C901 `dag_to_grid` is too complex (21)
+ airflow/www/views.py:2737:9: C901 `calendar` is too complex (15 > 10)
- airflow/www/views.py:2737:9: C901 `calendar` is too complex (15)
+ airflow/www/views.py:2996:9: C901 `duration` is too complex (12 > 10)
- airflow/www/views.py:2996:9: C901 `duration` is too complex (12)
+ airflow/www/views.py:299:9: C901 `task_group_to_grid` is too complex (20 > 10)
- airflow/www/views.py:299:9: C901 `task_group_to_grid` is too complex (20)
+ airflow/www/views.py:683:9: C901 `index` is too complex (13 > 10)
- airflow/www/views.py:683:9: C901 `index` is too complex (13)
+ dev/assign_cherry_picked_prs_with_milestone.py:250:5: C901 `assign_prs` is too complex (32 > 10)
- dev/assign_cherry_picked_prs_with_milestone.py:250:5: C901 `assign_prs` is too complex (32)
+ dev/breeze/src/airflow_breeze/commands/ci_image_commands.py:426:5: C901 `run_build_ci_image` is too complex (11 > 10)
- dev/breeze/src/airflow_breeze/commands/ci_image_commands.py:426:5: C901 `run_build_ci_image` is too complex (11)
+ dev/breeze/src/airflow_breeze/commands/developer_commands.py:402:5: C901 `static_checks` is too complex (12 > 10)
- dev/breeze/src/airflow_breeze/commands/developer_commands.py:402:5: C901 `static_checks` is too complex (12)
+ dev/breeze/src/airflow_breeze/commands/developer_commands.py:527:5: C901 `enter_shell` is too complex (11 > 10)
- dev/breeze/src/airflow_breeze/commands/developer_commands.py:527:5: C901 `enter_shell` is too complex (11)
+ dev/breeze/src/airflow_breeze/commands/main_command.py:215:5: C901 `cleanup` is too complex (12 > 10)
- dev/breeze/src/airflow_breeze/commands/main_command.py:215:5: C901 `cleanup` is too complex (12)
+ dev/breeze/src/airflow_breeze/commands/release_management_commands.py:576:5: C901 `release_prod_images` is too complex (14 > 10)
- dev/breeze/src/airflow_breeze/commands/release_management_commands.py:576:5: C901 `release_prod_images` is too complex (14)
+ dev/breeze/src/airflow_breeze/commands/setup_commands.py:398:5: C901 `regenerate_help_images_for_all_commands` is too complex (16 > 10)
- dev/breeze/src/airflow_breeze/commands/setup_commands.py:398:5: C901 `regenerate_help_images_for_all_commands` is too complex (16)
+ dev/breeze/src/airflow_breeze/params/shell_params.py:199:9: C901 `compose_file` is too complex (18 > 10)
- dev/breeze/src/airflow_breeze/params/shell_params.py:199:9: C901 `compose_file` is too complex (18)
+ dev/breeze/src/airflow_breeze/utils/confirm.py:34:5: C901 `user_confirm` is too complex (14 > 10)
- dev/breeze/src/airflow_breeze/utils/confirm.py:34:5: C901 `user_confirm` is too complex (14)
+ dev/breeze/src/airflow_breeze/utils/parallel.py:363:5: C901 `check_async_run_results` is too complex (16 > 10)
- dev/breeze/src/airflow_breeze/utils/parallel.py:363:5: C901 `check_async_run_results` is too complex (16)
+ dev/breeze/src/airflow_breeze/utils/run_utils.py:52:5: C901 `run_command` is too complex (15 > 10)
- dev/breeze/src/airflow_breeze/utils/run_utils.py:52:5: C901 `run_command` is too complex (15)
+ dev/provider_packages/prepare_provider_packages.py:698:5: C901 `make_sure_remote_apache_exists_and_fetch` is too complex (12 > 10)
- dev/provider_packages/prepare_provider_packages.py:698:5: C901 `make_sure_remote_apache_exists_and_fetch` is too complex (12)
+ dev/provider_packages/prepare_provider_packages.py:934:5: C901 `get_all_changes_for_package` is too complex (13 > 10)
- dev/provider_packages/prepare_provider_packages.py:934:5: C901 `get_all_changes_for_package` is too complex (13)
+ dev/stats/get_important_pr_candidates.py:359:5: C901 `main` is too complex (12 > 10)
- dev/stats/get_important_pr_candidates.py:359:5: C901 `main` is too complex (12)
+ dev/system_tests/update_issue_status.py:132:5: C901 `update_issue_status` is too complex (16 > 10)
- dev/system_tests/update_issue_status.py:132:5: C901 `update_issue_status` is too complex (16)
+ docs/build_docs.py:449:5: C901 `main` is too complex (12 > 10)
- docs/build_docs.py:449:5: C901 `main` is too complex (12)
+ docs/exts/airflow_intersphinx.py:101:9: C901 `main` is too complex (14 > 10)
- docs/exts/airflow_intersphinx.py:101:9: C901 `main` is too complex (14)
+ scripts/ci/pre_commit/pre_commit_sync_init_decorator.py:135:5: C901 `check_dag_init_decorator_arguments` is too complex (16 > 10)
- scripts/ci/pre_commit/pre_commit_sync_init_decorator.py:135:5: C901 `check_dag_init_decorator_arguments` is too complex (16)
+ scripts/ci/pre_commit/pre_commit_yaml_to_cfg.py:106:5: C901 `_write_option` is too complex (11 > 10)
- scripts/ci/pre_commit/pre_commit_yaml_to_cfg.py:106:5: C901 `_write_option` is too complex (11)
+ scripts/ci/testing/summarize_junit_failures.py:78:5: C901 `summarize_file` is too complex (11 > 10)
- scripts/ci/testing/summarize_junit_failures.py:78:5: C901 `summarize_file` is too complex (11)
+ scripts/in_container/verify_providers.py:204:5: C901 `import_all_classes` is too complex (18 > 10)
- scripts/in_container/verify_providers.py:204:5: C901 `import_all_classes` is too complex (18)
+ tests/conftest.py:459:5: C901 `dag_maker` is too complex (30 > 10)
- tests/conftest.py:459:5: C901 `dag_maker` is too complex (30)
+ tests/decorators/test_branch_python.py:28:9: C901 `test_branch_one` is too complex (12 > 10)
- tests/decorators/test_branch_python.py:28:9: C901 `test_branch_one` is too complex (12)
+ tests/jobs/test_backfill_job.py:1151:9: C901 `test_backfill_fill_blanks` is too complex (12 > 10)
- tests/jobs/test_backfill_job.py:1151:9: C901 `test_backfill_fill_blanks` is too complex (12)
+ tests/jobs/test_scheduler_job.py:2903:9: C901 `test_list_py_file_paths` is too complex (11 > 10)
- tests/jobs/test_scheduler_job.py:2903:9: C901 `test_list_py_file_paths` is too complex (11)
+ tests/jobs/test_triggerer_job.py:189:5: C901 `test_trigger_create_race_condition_18392` is too complex (16 > 10)
- tests/jobs/test_triggerer_job.py:189:5: C901 `test_trigger_create_race_condition_18392` is too complex (16)
+ tests/sensors/test_base.py:290:9: C901 `test_ok_with_reschedule_and_retry` is too complex (13 > 10)
- tests/sensors/test_base.py:290:9: C901 `test_ok_with_reschedule_and_retry` is too complex (13)
+ tests/serialization/test_serialized_objects.py:26:5: C901 `test_recursive_serialize_calls_must_forward_kwargs` is too complex (12 > 10)
- tests/serialization/test_serialized_objects.py:26:5: C901 `test_recursive_serialize_calls_must_forward_kwargs` is too complex (12) |
complexity, | ||
max_complexity, | ||
} = self; | ||
format!("`{name}` is too complex ({complexity} > {max_complexity})") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind changing those Pylint messages too, like too_many_branches
, to use this style?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done (e17a361) and updated the title too
max-complexity
to messagevalue > max
style in pylint and mccabe messages
Thank you! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://togithub.com/charliermarsh/ruff) | `^0.0.256` -> `^0.0.257` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/compatibility-slim/0.0.256)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/confidence-slim/0.0.256)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.257`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.257) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.256...v0.0.257) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Rules - \[`ruff`] Prefer `itertools.pairwise()` over `zip()` for successive pairs (`RUF007`) by [@​evanrittenhouse](https://togithub.com/evanrittenhouse) in [https://github.com/charliermarsh/ruff/pull/3501](https://togithub.com/charliermarsh/ruff/pull/3501) - \[`flake8-bugbear`] Add `no-explicit-stacklevel` (`B028`) by [@​johnor](https://togithub.com/johnor) in [https://github.com/charliermarsh/ruff/pull/3550](https://togithub.com/charliermarsh/ruff/pull/3550) - \[`pylint`] invalid-characters-\* by [@​r3m0t](https://togithub.com/r3m0t) in [https://github.com/charliermarsh/ruff/pull/3552](https://togithub.com/charliermarsh/ruff/pull/3552) - \[`pylint`] Implement `useless-return` (`R1711`) by [@​tomecki](https://togithub.com/tomecki) in [https://github.com/charliermarsh/ruff/pull/3116](https://togithub.com/charliermarsh/ruff/pull/3116) - \[`pylint`]: Implement `continue-in-finally` (`E0116`) by [@​latonis](https://togithub.com/latonis) in [https://github.com/charliermarsh/ruff/pull/3541](https://togithub.com/charliermarsh/ruff/pull/3541) ##### Bug Fixes - Rewrite mock import with starred imports by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3566](https://togithub.com/charliermarsh/ruff/pull/3566) - Respect `type` overrides in E721 by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3582](https://togithub.com/charliermarsh/ruff/pull/3582) - Use `value > max` style in pylint and mccabe messages by [@​edgarrmondragon](https://togithub.com/edgarrmondragon) in [https://github.com/charliermarsh/ruff/pull/3553](https://togithub.com/charliermarsh/ruff/pull/3553) - Fix autofix conflict between `D209` and `D400` by [@​JonathanPlasse](https://togithub.com/JonathanPlasse) in [https://github.com/charliermarsh/ruff/pull/3564](https://togithub.com/charliermarsh/ruff/pull/3564) - Avoid C1901 violations within subscripts by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3517](https://togithub.com/charliermarsh/ruff/pull/3517) - Avoid adding dashed line outside of docstring by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3581](https://togithub.com/charliermarsh/ruff/pull/3581) - Enable ANSI colors on Windows 10 by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3583](https://togithub.com/charliermarsh/ruff/pull/3583) #### New Contributors - [@​johnor](https://togithub.com/johnor) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3550](https://togithub.com/charliermarsh/ruff/pull/3550) **Full Changelog**: astral-sh/ruff@v0.0.256...v0.0.257 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/ixm-one/pytest-cmake-presets). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTAuMiJ9--> Signed-off-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ruff](https://togithub.com/charliermarsh/ruff) | `==0.0.256` -> `==0.0.257` | [![age](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/compatibility-slim/0.0.256)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/pypi/ruff/0.0.257/confidence-slim/0.0.256)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>charliermarsh/ruff</summary> ### [`v0.0.257`](https://togithub.com/charliermarsh/ruff/releases/tag/v0.0.257) [Compare Source](https://togithub.com/charliermarsh/ruff/compare/v0.0.256...v0.0.257) <!-- Release notes generated using configuration in .github/release.yml at main --> #### What's Changed ##### Rules - \[`ruff`] Prefer `itertools.pairwise()` over `zip()` for successive pairs (`RUF007`) by [@​evanrittenhouse](https://togithub.com/evanrittenhouse) in [https://github.com/charliermarsh/ruff/pull/3501](https://togithub.com/charliermarsh/ruff/pull/3501) - \[`flake8-bugbear`] Add `no-explicit-stacklevel` (`B028`) by [@​johnor](https://togithub.com/johnor) in [https://github.com/charliermarsh/ruff/pull/3550](https://togithub.com/charliermarsh/ruff/pull/3550) - \[`pylint`] invalid-characters-\* by [@​r3m0t](https://togithub.com/r3m0t) in [https://github.com/charliermarsh/ruff/pull/3552](https://togithub.com/charliermarsh/ruff/pull/3552) - \[`pylint`] Implement `useless-return` (`R1711`) by [@​tomecki](https://togithub.com/tomecki) in [https://github.com/charliermarsh/ruff/pull/3116](https://togithub.com/charliermarsh/ruff/pull/3116) - \[`pylint`]: Implement `continue-in-finally` (`E0116`) by [@​latonis](https://togithub.com/latonis) in [https://github.com/charliermarsh/ruff/pull/3541](https://togithub.com/charliermarsh/ruff/pull/3541) ##### Bug Fixes - Rewrite mock import with starred imports by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3566](https://togithub.com/charliermarsh/ruff/pull/3566) - Respect `type` overrides in E721 by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3582](https://togithub.com/charliermarsh/ruff/pull/3582) - Use `value > max` style in pylint and mccabe messages by [@​edgarrmondragon](https://togithub.com/edgarrmondragon) in [https://github.com/charliermarsh/ruff/pull/3553](https://togithub.com/charliermarsh/ruff/pull/3553) - Fix autofix conflict between `D209` and `D400` by [@​JonathanPlasse](https://togithub.com/JonathanPlasse) in [https://github.com/charliermarsh/ruff/pull/3564](https://togithub.com/charliermarsh/ruff/pull/3564) - Avoid C1901 violations within subscripts by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3517](https://togithub.com/charliermarsh/ruff/pull/3517) - Avoid adding dashed line outside of docstring by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3581](https://togithub.com/charliermarsh/ruff/pull/3581) - Enable ANSI colors on Windows 10 by [@​charliermarsh](https://togithub.com/charliermarsh) in [https://github.com/charliermarsh/ruff/pull/3583](https://togithub.com/charliermarsh/ruff/pull/3583) #### New Contributors - [@​johnor](https://togithub.com/johnor) made their first contribution in [https://github.com/charliermarsh/ruff/pull/3550](https://togithub.com/charliermarsh/ruff/pull/3550) **Full Changelog**: astral-sh/ruff@v0.0.256...v0.0.257 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/allenporter/flux-local). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNC4yIiwidXBkYXRlZEluVmVyIjoiMzUuMTQuMiJ9--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Closes #3539