Repository Analysis

saleor/saleor

Saleor Core: the high performance, composable, headless commerce API.

18.6 Moderate AI signal View on GitHub
18.6
Adjusted Score
18.6
Raw Score
100%
Time Factor
2026-05-29
Last Push
22,939
Stars
Python
Language
799,441
Lines of Code
2975
Files
16199
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 304HIGH 150MEDIUM 48LOW 15697

Pattern Findings

16199 matches across 15 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers13881 hits · 9382 pts
SeverityFileLineSnippet
LOWconftest.py66def pytest_collection_modifyitems(config, items):
LOWCONTRIBUTING.md279def test_apps_for_federation_query_count(
LOWAGENTS.md119def my_model_qs_select_for_update() -> QuerySet[MyModel]:
LOWCLAUDE.md119def my_model_qs_select_for_update() -> QuerySet[MyModel]:
LOW…p/security/logging/exception-object-in-logger-extra.py74def test_log_exception_with_finally_block():
LOW…p/security/logging/exception-object-in-logger-extra.py84def test_log_exception_with_else_block():
LOW…p/security/logging/exception-object-in-logger-extra.py94def test_log_exception_with_finally_else_block():
LOW…p/security/logging/exception-object-in-logger-extra.py106def test_not_logging_exception():
LOW…p/security/logging/exception-object-in-logger-extra.py115def test_not_logging_exception():
LOW…p/security/logging/exception-object-in-logger-extra.py10def test_log_catch_multiple_exceptions():
LOW…p/security/logging/exception-object-in-logger-extra.py29def test_log_middle_of_statement():
LOW…elery/celery-migration-task-missing-dedicated-queue.py9def migration_task_without_queue_set():
LOW…elery/celery-migration-task-missing-dedicated-queue.py16def migration_task_without_queue_set_and_more_decorators():
LOW…elery/celery-migration-task-missing-dedicated-queue.py22def migration_task_with_no_args():
LOW…elery/celery-migration-task-missing-dedicated-queue.py34def migration_task_with_args_and_kwargs(
LOW…elery/celery-migration-task-missing-dedicated-queue.py42def migration_task_with_queue_set_to_raw_value():
LOW…elery/celery-migration-task-missing-dedicated-queue.py48def migration_task_with_args_kwargs_and_queue_set_to_raw_value(self):
LOW…elery/celery-migration-task-missing-dedicated-queue.py54def migration_task_with_queue_set():
LOW…elery/celery-migration-task-missing-dedicated-queue.py61def migration_task_with_queue_set_and_more_decorators():
LOW…elery/celery-migration-task-missing-dedicated-queue.py67def migration_task_with_kwargs_and_queue_set_first(self):
LOW…elery/celery-migration-task-missing-dedicated-queue.py73def migration_task_with_kwargs_and_queue_set_last(self):
LOW…elery/celery-migration-task-missing-dedicated-queue.py79def migration_task_with_kwargs_and_queue_set_in_the_middle(self):
LOW…elery/celery-migration-task-missing-dedicated-queue.py85def migration_task_with_multiline_kwargs_and_queue():
LOW…mgrep/correctness/celery/task-logger-without-suffix.py10def same_name_with_celery_first():
LOW…mgrep/correctness/celery/task-logger-without-suffix.py17def different_name_get_task_logger():
LOW…mgrep/correctness/celery/task-logger-without-suffix.py22def different_name_logging_getlogger():
LOW…mgrep/correctness/celery/task-logger-without-suffix.py34def same_name_without_variables():
LOW…orrectness/django/django-migration-wrong-app-config.py24def wrong_app_config_multiline(apps, _schema_editor):
LOW…orrectness/django/django-migration-wrong-app-config.py35def correct_app_config_multiline(apps, _schema_editor):
LOW…orrectness/django/django-no-default-token-generator.py1def test_using_default_token_generator():
LOW…orrectness/django/django-no-default-token-generator.py6def test_using_token_generator_class():
LOW…orrectness/django/django-no-default-token-generator.py10def test_ok_not_using_django_builtin_default_token_generator():
LOWsaleor/webhook/serializers.py20def serialize_variant_full_name(
LOWsaleor/webhook/serializers.py73def serialize_product_attributes(product: "Product") -> list[dict]:
LOWsaleor/webhook/serializers.py139def serialize_variant_attributes(variant: "ProductVariant") -> list[dict]:
LOWsaleor/webhook/utils.py27def get_filter_for_single_webhook_event(
LOWsaleor/webhook/utils.py94def get_webhooks_for_app_lifecycle_event(
LOWsaleor/webhook/utils.py129def get_webhooks_for_multiple_events(
LOWsaleor/webhook/utils.py162def calculate_webhooks_for_multiple_events(
LOWsaleor/webhook/utils.py202def filter_webhooks_for_channel(
LOWsaleor/webhook/payloads.py108def generate_metadata_updated_payload(
LOWsaleor/webhook/payloads.py128def prepare_order_lines_allocations_payload(line):
LOWsaleor/webhook/payloads.py143def generate_order_lines_payload(lines: Iterable[OrderLine]):
LOWsaleor/webhook/payloads.py195def _generate_collection_point_payload(warehouse: "Warehouse"):
LOWsaleor/webhook/payloads.py211def _generate_shipping_method_payload(shipping_method, channel):
LOWsaleor/webhook/payloads.py333def _generate_order_payment_payload(payments: Iterable["Payment"]):
LOWsaleor/webhook/payloads.py435def generate_sale_toggle_payload(
LOWsaleor/webhook/payloads.py478def _generate_order_payload_for_invoice(order: "Order"):
LOWsaleor/webhook/payloads.py499def generate_checkout_payload(
LOWsaleor/webhook/payloads.py595def generate_customer_payload(
LOWsaleor/webhook/payloads.py634def generate_collection_payload(
LOWsaleor/webhook/payloads.py672def serialize_product_channel_listing_payload(channel_listings):
LOWsaleor/webhook/payloads.py694def _get_charge_taxes_for_product(product: "Product") -> bool:
LOWsaleor/webhook/payloads.py752def generate_product_deleted_payload(
LOWsaleor/webhook/payloads.py783def generate_product_variant_listings_payload(variant_channel_listings):
LOWsaleor/webhook/payloads.py800def generate_product_variant_media_payload(product_variant):
LOWsaleor/webhook/payloads.py816def generate_product_variant_payload(
LOWsaleor/webhook/payloads.py855def generate_product_variant_stocks_payload(product_variant: "ProductVariant"):
LOWsaleor/webhook/payloads.py861def generate_fulfillment_lines_payload(fulfillment: Fulfillment):
LOWsaleor/webhook/payloads.py936def generate_fulfillment_payload(
13821 more matches not shown…
Hallucination Indicators304 hits · 3055 pts
SeverityFileLineSnippet
CRITICALsaleor/webhook/validators.py1from django.core.exceptions import ValidationError
CRITICALsaleor/webhook/tests/test_webhook_validators.py2from django.core.exceptions import ValidationError
CRITICALsaleor/thumbnail/models.py1from django.core.exceptions import ValidationError
CRITICALsaleor/thumbnail/validators.py3from django.core.exceptions import ValidationError
CRITICALsaleor/thumbnail/tests/test_validators.py5from django.core.exceptions import ValidationError
CRITICALsaleor/order/utils.py9from django.core.exceptions import ValidationError
CRITICALsaleor/order/tests/test_calculations.py1272 line.variant.product.tax_class.country_rates.update_or_create(
CRITICALsaleor/order/tests/test_fulfillments_actions.py4from django.core.exceptions import ValidationError
CRITICALsaleor/core/notification/validation.py1from django.core.exceptions import ValidationError
CRITICALsaleor/core/tests/test_notification.py2from django.core.exceptions import ValidationError
CRITICAL…leor/core/management/commands/clean_editorjs_fields.py5from django.core.exceptions import ValidationError
CRITICALsaleor/core/utils/url.py4from django.core.exceptions import ValidationError
CRITICALsaleor/core/utils/promo_code.py3from django.core.exceptions import ValidationError
CRITICALsaleor/core/editorjs/models.py4from django.core.exceptions import ValidationError
CRITICALsaleor/core/editorjs/cleaners.py6from django.core.exceptions import ValidationError
CRITICALsaleor/core/editorjs/converters.py5from django.core.exceptions import ValidationError
CRITICALsaleor/app/tasks.py4from django.core.exceptions import ValidationError
CRITICALsaleor/app/manifest_validations.py5from django.core.exceptions import ValidationError
CRITICALsaleor/app/manifest_schema.py3from django.core.exceptions import ValidationError as DjangoValidationError
CRITICALsaleor/app/tests/test_installation_utils.py8from django.core.exceptions import ValidationError
CRITICALsaleor/app/tests/test_validators.py2from django.core.exceptions import ValidationError
CRITICALsaleor/app/tests/test_manifest_validations.py2from django.core.exceptions import ValidationError
CRITICALsaleor/app/management/commands/install_app.py4from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/email_common.py17from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/avatax/plugin.py9from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/avatax/tests/test_avatax.py9from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/sendgrid/plugin.py5from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/sendgrid/tests/test_plugin.py6from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/tests/test_email_common.py5from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/openid_connect/utils.py13from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/openid_connect/plugin.py7from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/openid_connect/tests/test_utils.py11from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/openid_connect/tests/test_plugin.py8from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/admin_email/tests/test_plugin.py6from django.core.exceptions import ValidationError
CRITICALsaleor/plugins/user_email/tests/test_plugin.py6from django.core.exceptions import ValidationError
CRITICALsaleor/payment/gateways/braintree/tests/test_errors.py11from django.core.exceptions import ValidationError
CRITICALsaleor/payment/gateways/stripe/plugin.py4from django.core.exceptions import ValidationError
CRITICALsaleor/payment/gateways/stripe/webhooks.py5from django.core.exceptions import ValidationError
CRITICALsaleor/payment/gateways/stripe/tests/test_plugin.py5from django.core.exceptions import ValidationError
CRITICALsaleor/payment/gateways/stripe/tests/test_webhooks.py7from django.core.exceptions import ValidationError
CRITICALsaleor/tax/tests/test_checkout_calculations.py193 first_line.variant.product.tax_class.country_rates.update_or_create(
CRITICALsaleor/tax/tests/test_checkout_calculations.py251 first_line.variant.product.tax_class.country_rates.update_or_create(
CRITICALsaleor/tax/tests/test_checkout_calculations.py310 first_line.variant.product.tax_class.country_rates.update_or_create(
CRITICALsaleor/checkout/tasks.py8from django.core.exceptions import ValidationError
CRITICALsaleor/checkout/complete_checkout.py11from django.core.exceptions import ValidationError
CRITICALsaleor/checkout/utils.py10from django.core.exceptions import ValidationError
CRITICALsaleor/checkout/checkout_cleaner.py6from django.core.exceptions import ValidationError
CRITICALsaleor/checkout/tests/test_checkout_complete.py6from django.core.exceptions import ValidationError
CRITICALsaleor/checkout/tests/test_calculations.py335 line.variant.product.tax_class.country_rates.update_or_create(
CRITICALsaleor/checkout/tests/test_calculations.py444 line.variant.product.tax_class.country_rates.update_or_create(
CRITICALsaleor/checkout/tests/test_order_from_checkout.py6from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/error.py1from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/webhook/mixins.py1from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/webhook/subscription_query.py4from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/webhook/mutations/webhook_delete.py2from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/webhook/mutations/webhook_create.py2from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/webhook/tests/test_subscription_query.py2from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/order/types.py8from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/order/utils.py8from django.core.exceptions import ValidationError
CRITICALsaleor/graphql/order/filters.py6from django.core.exceptions import ValidationError
244 more matches not shown…
Unused Imports1347 hits · 1161 pts
SeverityFileLineSnippet
LOW…orrectness/django/django-no-default-token-generator.py3
LOW…orrectness/django/django-no-default-token-generator.py8
LOW…orrectness/django/django-no-default-token-generator.py12
LOWsaleor/__init__.py1
LOWsaleor/webhook/serializers.py16
LOWsaleor/webhook/serializers.py17
LOWsaleor/webhook/payload_helpers.py11
LOWsaleor/webhook/utils.py14
LOWsaleor/webhook/payloads.py13
LOWsaleor/webhook/payloads.py31
LOWsaleor/webhook/payloads.py33
LOWsaleor/webhook/payloads.py50
LOWsaleor/webhook/payloads.py51
LOWsaleor/webhook/payloads.py52
LOWsaleor/webhook/payloads.py52
LOWsaleor/webhook/payloads.py52
LOWsaleor/webhook/payloads.py52
LOWsaleor/webhook/payloads.py58
LOWsaleor/webhook/payloads.py59
LOWsaleor/webhook/circuit_breaker/breaker_board.py21
LOWsaleor/webhook/transport/list_stored_payment_methods.py8
LOWsaleor/webhook/transport/payment.py4
LOWsaleor/webhook/transport/payment.py5
LOWsaleor/webhook/transport/asynchronous/transport.py65
LOWsaleor/webhook/transport/asynchronous/__init__.py1
LOWsaleor/webhook/transport/asynchronous/__init__.py1
LOWsaleor/webhook/transport/asynchronous/__init__.py1
LOWsaleor/webhook/transport/synchronous/transport.py28
LOWsaleor/webhook/transport/synchronous/transport.py59
LOWsaleor/webhook/transport/synchronous/transport.py60
LOWsaleor/webhook/transport/synchronous/transport.py61
LOWsaleor/webhook/observability/obfuscation.py26
LOWsaleor/webhook/observability/obfuscation.py28
LOWsaleor/webhook/observability/__init__.py1
LOWsaleor/webhook/observability/__init__.py2
LOWsaleor/webhook/observability/__init__.py3
LOWsaleor/webhook/observability/__init__.py3
LOWsaleor/webhook/observability/__init__.py4
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/__init__.py5
LOWsaleor/webhook/observability/utils.py27
LOWsaleor/webhook/observability/utils.py28
LOWsaleor/webhook/observability/utils.py30
LOWsaleor/webhook/observability/payloads.py43
LOWsaleor/webhook/observability/payloads.py44
LOWsaleor/thumbnail/utils.py26
LOWsaleor/order/fetch.py8
LOWsaleor/order/fetch.py14
LOWsaleor/order/fetch.py19
LOWsaleor/order/fetch.py26
LOWsaleor/order/fetch.py31
LOWsaleor/order/delivery_context.py9
LOWsaleor/order/delivery_context.py21
1287 more matches not shown…
Cross-File Repetition141 hits · 705 pts
SeverityFileLineSnippet
HIGH…on_webhooks/test_create_deliveries_for_subscription.py0subscription { event { ... on calculatetaxes { taxbase { sourceobject { ...on checkout{ totalprice { gross { amount } }
HIGH…eor/graphql/webhook/tests/test_subscription_payload.py0subscription { event { ... on calculatetaxes { taxbase { sourceobject { ...on checkout{ totalprice { gross { amount } }
HIGH…eor/graphql/webhook/tests/test_subscription_payload.py0subscription { event { ... on calculatetaxes { taxbase { sourceobject { ...on checkout{ totalprice { gross { amount } }
HIGH…ok/tests/subscription_webhooks/subscription_queries.py0subscription{ event{ ...on productupdated{ product{ id } } } }
HIGH…ok/tests/subscription_webhooks/subscription_queries.py0subscription{ event{ ...on productupdated{ product{ id } } } }
HIGH…ok/tests/subscription_webhooks/subscription_queries.py0subscription{ event{ ...on productupdated{ product{ id } } } }
HIGHsaleor/attribute/tests/test_utils.py0ensure multiple values in proper order are assigned.
HIGHsaleor/attribute/tests/test_utils.py0ensure multiple values in proper order are assigned.
HIGHsaleor/attribute/tests/test_utils.py0ensure multiple values in proper order are assigned.
HIGHsaleor/plugins/avatax/plugin.py0deprecated. this plugin is deprecated and will be removed in future version.
HIGHsaleor/plugins/sendgrid/plugin.py0deprecated. this plugin is deprecated and will be removed in future version.
HIGHsaleor/payment/gateways/braintree/plugin.py0deprecated. this plugin is deprecated and will be removed in future version.
HIGHsaleor/payment/gateways/dummy/plugin.py0deprecated. this plugin is deprecated and will be removed in future version.
HIGHsaleor/payment/gateways/dummy_credit_card/plugin.py0deprecated. this plugin is deprecated and will be removed in future version.
HIGHsaleor/payment/gateways/razorpay/plugin.py0deprecated. this plugin is deprecated and will be removed in future version.
HIGHsaleor/plugins/sendgrid/tasks.py0send an invoice to user of related order with url to download it.
HIGHsaleor/plugins/user_email/tasks.py0send an invoice to user of related order with url to download it.
HIGHsaleor/invoice/notifications.py0send an invoice to user of related order with url to download it.
HIGHsaleor/payment/interface.py0dataclass for storing the response information from payment app.
HIGHsaleor/payment/interface.py0dataclass for storing the response information from payment app.
HIGHsaleor/payment/interface.py0dataclass for storing the response information from payment app.
HIGHsaleor/payment/interface.py0dataclass for storing the request information for payment app.
HIGHsaleor/payment/interface.py0dataclass for storing the request information for payment app.
HIGHsaleor/payment/interface.py0dataclass for storing the request information for payment app.
HIGHsaleor/payment/interface.py0dataclass for storing the request information for payment app.
HIGHsaleor/graphql/order/mutations/order_line_update.py0retrieve the instance channel id for channel permission accessible check.
HIGHsaleor/graphql/core/mutations.py0retrieve the instance channel id for channel permission accessible check.
HIGHsaleor/graphql/core/mutations.py0retrieve the instance channel id for channel permission accessible check.
HIGHsaleor/graphql/translations/mutations/utils.py0retrieve the instance channel id for channel permission accessible check.
HIGH…nchmark/test_fulfillment_refund_and_return_products.py0mutation orderfulfillmentrefundproducts( $order: id!, $input: orderrefundproductsinput! ) { orderfulfillmentrefundproduc
HIGH…er/tests/mutations/test_fulfillment_refund_products.py0mutation orderfulfillmentrefundproducts( $order: id!, $input: orderrefundproductsinput! ) { orderfulfillmentrefundproduc
HIGHsaleor/graphql/order/tests/deprecated/test_order.py0mutation orderfulfillmentrefundproducts( $order: id!, $input: orderrefundproductsinput! ) { orderfulfillmentrefundproduc
HIGH…r/graphql/order/tests/mutations/test_order_discount.py0manual line discount takes precedence over vouchers.
HIGH…r/graphql/order/tests/mutations/test_order_discount.py0manual line discount takes precedence over vouchers.
HIGH…aphql/order/tests/mutations/test_draft_order_update.py0manual line discount takes precedence over vouchers.
HIGH…aphql/order/tests/mutations/test_draft_order_update.py0manual line discount takes precedence over vouchers.
HIGH…raphql/order/tests/mutations/test_order_line_update.py0the voucher discount should use denormalized voucher values.
HIGH…raphql/order/tests/mutations/test_order_line_update.py0the voucher discount should use denormalized voucher values.
HIGH…raphql/order/tests/mutations/test_order_line_update.py0the voucher discount should use denormalized voucher values.
HIGHsaleor/graphql/order/bulk_mutations/draft_orders.py0get the instances channel ids for channel permission accessible check.
HIGHsaleor/graphql/order/bulk_mutations/draft_orders.py0get the instances channel ids for channel permission accessible check.
HIGH…leor/graphql/order/bulk_mutations/order_bulk_cancel.py0get the instances channel ids for channel permission accessible check.
HIGHsaleor/graphql/core/mutations.py0get the instances channel ids for channel permission accessible check.
HIGHsaleor/graphql/order/bulk_mutations/draft_orders.py0perform a mutation that deletes a list of model instances.
HIGHsaleor/graphql/core/mutations.py0perform a mutation that deletes a list of model instances.
HIGHsaleor/graphql/core/mutations.py0perform a mutation that deletes a list of model instances.
HIGHsaleor/graphql/discount/mutations/bulk_mutations.py0perform a mutation that deletes a list of model instances.
HIGHsaleor/graphql/core/tests/test_query_cost_validation.py0query variantavailability($id: id!, $channel: string) {{ {query_fields} }}
HIGHsaleor/graphql/tests/test_tracing.py0query variantavailability($id: id!, $channel: string) {{ {query_fields} }}
HIGHsaleor/graphql/tests/test_metrics.py0query variantavailability($id: id!, $channel: string) {{ {query_fields} }}
HIGH…raphql/app/tests/mutations/test_app_problem_dismiss.py0mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes
HIGH…tations/test_app_problem_dismiss_by_staff_with_keys.py0mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes
HIGH…utations/test_app_problem_dismiss_by_staff_with_ids.py0mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes
HIGH…app/tests/mutations/test_app_problem_dismiss_by_app.py0mutation appproblemdismiss($input: appproblemdismissinput!) { appproblemdismiss(input: $input) { errors { field code mes
HIGH…graphql/app/tests/mutations/test_app_problem_create.py0mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke
HIGH…/tests/mutations/test_app_problem_create_validation.py0mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke
HIGH…tests/mutations/test_app_problem_create_aggregation.py0mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke
HIGH…pp/tests/mutations/test_app_problem_create_eviction.py0mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke
HIGH…pp/tests/mutations/test_app_problem_create_critical.py0mutation appproblemcreate($input: appproblemcreateinput!) { appproblemcreate(input: $input) { appproblem { id message ke
HIGH…ent/tests/mutations/test_payment_gateway_initialize.py0subscription { event { ... on shippinglistmethodsforcheckout { checkout { email token } } } }
81 more matches not shown…
Fake / Example Data163 hits · 141 pts
SeverityFileLineSnippet
LOWsaleor/webhook/tests/test_payment_webhook_utils.py157 "name": "John Doe",
LOWsaleor/core/cleaners/tests/test_urls.py114 "mailto:" + ",".join(["user@example.com"] * 11),
LOWsaleor/core/tests/test_search.py90 assert parse_search_query("user@example.com") == "user@example.com:*"
LOWsaleor/core/tests/test_core.py73 "email": "admin@example.com",
LOWsaleor/core/management/commands/populatedb.py86 superuser_email = "admin@example.com"
LOWsaleor/app/tests/test_installation_utils.py163 app_manifest["author"] = "Acme Ltd"
LOWsaleor/app/tests/test_manifest_validations.py118 assert schema.author == "Acme Ltd"
LOW…app/tests/cassettes/test_sends_data_to_target_url.yaml18 : \"Lorem ipsum\",\n \"data_privacy\": \"Lorem ipsum\",\n \"data_privacy_url\"\
LOW…t_app_tasks/test_install_app_task_request_timeout.yaml18 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…ts/cassettes/test_app_tasks/test_install_app_task.yaml18 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…install_app_task_wrong_format_of_target_token_url.yaml18 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…pp_from_manifest_app_has_all_required_permissions.yaml18 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…pp_from_manifest_app_has_all_required_permissions.yaml69 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…est_creates_app_from_manifest_installation_failed.yaml18 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…est_creates_app_from_manifest_installation_failed.yaml67 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…/test_app_commands/test_creates_app_from_manifest.yaml18 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…/test_app_commands/test_creates_app_from_manifest.yaml69 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…mands/test_creates_app_from_manifest_activate_app.yaml18 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOW…mands/test_creates_app_from_manifest_activate_app.yaml69 : \"Lorem ipsum\",\n \"dataPrivacy\": \"Lorem ipsum\",\n \"dataPrivacyUrl\"\
LOWsaleor/plugins/sendgrid/tests/test_tasks.py154 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py161 "new_email": "user@example.com",
LOWsaleor/plugins/sendgrid/tests/test_tasks.py45 "recipient_email": "user@example.com",
LOWsaleor/plugins/sendgrid/tests/test_tasks.py89 recipient_email = "admin@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py118 recipient_email = "admin@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py195 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py234 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py267 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py301 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py348 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py394 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py525 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py570 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py611 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py652 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py695 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py737 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py782 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py828 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py873 recipient_email = "user@example.com"
LOWsaleor/plugins/sendgrid/tests/test_tasks.py916 recipient_email = "user@example.com"
LOWsaleor/plugins/openid_connect/tests/conftest.py118 "name": "John Doe",
LOWsaleor/plugins/openid_connect/tests/conftest.py137 "email": "admin@example.com",
LOWsaleor/plugins/openid_connect/tests/test_plugin.py778 staff_user.email = "admin@example.com"
LOWsaleor/plugins/admin_email/tests/conftest.py49 sender_address="admin@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py25 "recipient_email": "user@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py51 "recipient_email": "user@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py72 "recipient_email": "admin@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py93 "recipient_email": "admin@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py113 "recipient_email": "admin@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py134 "recipient_email": "admin@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py155 "recipient_list": ["admin@example.com"],
LOWsaleor/plugins/admin_email/tests/test_notify_events.py177 "recipient_list": ["admin@example.com"],
LOWsaleor/plugins/admin_email/tests/test_notify_events.py194 "recipient_email": "admin@example.com",
LOWsaleor/plugins/admin_email/tests/test_notify_events.py211 "recipient_email": "admin@example.com",
LOWsaleor/plugins/admin_email/tests/test_tasks.py23 recipient_email = "admin@example.com"
LOWsaleor/plugins/admin_email/tests/test_tasks.py56 recipient_email = "admin@example.com"
LOWsaleor/plugins/admin_email/tests/test_tasks.py88 recipient_email = "user@example.com"
LOWsaleor/plugins/admin_email/tests/test_tasks.py121 recipient_email = "user@example.com"
LOWsaleor/plugins/admin_email/tests/test_tasks.py154 recipient_email = "admin@example.com"
LOWsaleor/plugins/admin_email/tests/test_tasks.py191 recipient_email = "admin@example.com"
103 more matches not shown…
Deep Nesting120 hits · 110 pts
SeverityFileLineSnippet
LOW.claude/skills/filter-benchmark/analyze_query.py67
LOWsaleor/webhook/utils.py162
LOWsaleor/webhook/payloads.py1082
LOWsaleor/webhook/payloads.py1116
LOWsaleor/webhook/transport/asynchronous/transport.py85
LOWsaleor/webhook/transport/asynchronous/transport.py332
LOWsaleor/webhook/transport/asynchronous/transport.py852
LOWsaleor/webhook/transport/asynchronous/transport.py947
LOWsaleor/webhook/transport/asynchronous/transport.py1008
LOWsaleor/webhook/transport/asynchronous/transport.py1020
LOWsaleor/webhook/transport/asynchronous/transport.py150
LOWsaleor/webhook/observability/utils.py59
LOWsaleor/thumbnail/utils.py163
LOWsaleor/order/actions.py863
LOWsaleor/order/actions.py1441
LOWsaleor/order/utils.py127
LOWsaleor/order/utils.py210
LOWsaleor/order/base_calculations.py85
LOWsaleor/order/base_calculations.py215
LOWsaleor/asgi/cors_handler.py15
LOWsaleor/asgi/cors_handler.py16
LOWsaleor/asgi/cors_handler.py69
LOWsaleor/asgi/gzip_compression.py17
LOWsaleor/asgi/gzip_compression.py20
LOWsaleor/asgi/gzip_compression.py41
LOWsaleor/core/sqs.py13
LOWsaleor/core/search.py89
LOW…leor/core/management/commands/clean_editorjs_fields.py162
LOWsaleor/core/management/commands/remove_invalid_files.py136
LOWsaleor/core/editorjs/models.py220
LOWsaleor/attribute/search.py11
LOWsaleor/attribute/models/base.py290
LOWsaleor/attribute/models/base.py530
LOWsaleor/plugins/manager.py151
LOWsaleor/plugins/manager.py2601
LOWsaleor/plugins/admin_email/plugin.py206
LOWsaleor/plugins/admin_email/plugin.py213
LOWsaleor/plugins/user_email/plugin.py359
LOWsaleor/plugins/user_email/plugin.py366
LOWsaleor/payment/tasks.py89
LOWsaleor/payment/utils.py587
LOWsaleor/payment/transaction_item_calculations.py235
LOWsaleor/payment/transaction_item_calculations.py265
LOWsaleor/payment/gateways/stripe/plugin.py160
LOWsaleor/tests/utils.py91
LOWsaleor/tests/e2e/shop/utils/preparing_shop.py51
LOWsaleor/checkout/delivery_context.py771
LOWsaleor/checkout/complete_checkout.py1561
LOWsaleor/checkout/utils.py179
LOWsaleor/checkout/payment_utils.py16
LOWsaleor/checkout/payment_utils.py42
LOWsaleor/checkout/base_calculations.py264
LOWsaleor/discount/utils/voucher.py512
LOWsaleor/graphql/schema_printer.py375
LOWsaleor/graphql/views.py339
LOWsaleor/graphql/webhook/mutations/webhook_trigger.py159
LOWsaleor/graphql/order/utils.py95
LOWsaleor/graphql/order/utils.py173
LOWsaleor/graphql/order/mutations/order_lines_create.py71
LOWsaleor/graphql/order/mutations/draft_order_complete.py118
60 more matches not shown…
Excessive Try-Catch Wrapping61 hits · 83 pts
SeverityFileLineSnippet
LOW.claude/skills/filter-benchmark/analyze_query.py191 except Exception as e:
MEDIUM…p/security/logging/exception-object-in-logger-extra.py2def test_log_info_exception():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py10def test_log_catch_multiple_exceptions():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py39def test_log_info_exception():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py55def test_log_exception_trailing_arguments_case1():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py65def test_log_exception_trailing_arguments_case2():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py74def test_log_exception_with_finally_block():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py84def test_log_exception_with_else_block():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py94def test_log_exception_with_finally_else_block():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py106def test_not_logging_exception():
MEDIUM…p/security/logging/exception-object-in-logger-extra.py115def test_not_logging_exception():
LOW…p/security/logging/exception-object-in-logger-extra.py50 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py58 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py68 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py77 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py87 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py97 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py109 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py118 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py5 except Exception as exc:
LOW…p/security/logging/exception-object-in-logger-extra.py32 except Exception as exc:
LOWsaleor/webhook/observability/utils.py101 except Exception:
LOWsaleor/webhook/observability/utils.py111 except Exception:
LOWsaleor/asgi/usage_telemetry.py39 except Exception:
LOWsaleor/asgi/usage_telemetry.py224 except Exception:
LOWsaleor/core/transactions.py17 except Exception as e:
LOWsaleor/core/jwt_manager.py219 except Exception as e:
LOWsaleor/core/management/commands/remove_invalid_files.py165 except Exception:
LOWsaleor/core/management/commands/remove_invalid_files.py167 except Exception as e:
LOWsaleor/core/management/commands/remove_invalid_files.py196 except Exception as e:
LOWsaleor/core/utils/lazyobjects.py29 except Exception as exc:
LOWsaleor/core/db/tests/test_connection.py35 except Exception:
LOWsaleor/core/telemetry/tests/test_utils.py222 except Exception as e:
LOWsaleor/app/tasks.py58 except Exception as e:
MEDIUMsaleor/app/tasks.py23def install_app_task(job_id, activate=False):
LOWsaleor/app/manifest_validations.py292 except Exception as e:
MEDIUMsaleor/app/manifest_validations.py75def clean_manifest_url(manifest_url):
LOWsaleor/app/actions.py69 except Exception:
LOWsaleor/app/installation_utils.py49 except Exception:
LOWsaleor/app/management/commands/install_app.py73 except Exception as e:
LOWsaleor/plugins/email_common.py324 except Exception as e:
LOWsaleor/plugins/openid_connect/utils.py574 except Exception:
MEDIUMsaleor/plugins/openid_connect/utils.py125def get_user_info(user_info_url, access_token) -> dict | None:
LOWsaleor/checkout/search/indexing.py45 except Exception:
LOWsaleor/graphql/context.py58 except Exception:
LOWsaleor/graphql/views.py506 except Exception as e:
MEDIUMsaleor/graphql/order/filters.py108def get_payment_id_from_query(value):
LOWsaleor/graphql/order/filters.py111 except Exception:
LOW…leor/graphql/order/bulk_mutations/order_bulk_create.py1104 except Exception:
LOW…leor/graphql/order/bulk_mutations/order_bulk_create.py1134 except Exception:
LOWsaleor/graphql/core/validators/query_cost.py88 except Exception as e:
LOWsaleor/graphql/utils/__init__.py74 except Exception:
LOWsaleor/graphql/checkout/filters.py42 except Exception:
LOWsaleor/graphql/checkout/filters.py49 except Exception:
MEDIUMsaleor/graphql/checkout/filters.py30def get_checkout_token_from_query(value):
MEDIUMsaleor/graphql/checkout/filters.py46def get_checkout_id_from_query(value):
LOW…leor/graphql/account/mutations/authentication/utils.py25 except Exception:
MEDIUM…leor/graphql/account/mutations/authentication/utils.py22def get_user(payload):
LOW…graphql/account/bulk_mutations/customer_bulk_update.py167 except Exception:
LOW…/graphql/warehouse/bulk_mutations/stock_bulk_update.py141 except Exception:
1 more matches not shown…
Self-Referential Comments29 hits · 78 pts
SeverityFileLineSnippet
MEDIUMsaleor/core/tests/test_sqs.py28 # Create a mock connection object with all required attributes
MEDIUMsaleor/core/tests/test_sqs.py62 # Create a mock connection object with all required attributes
MEDIUMsaleor/core/tests/test_view.py16 # Create a dummy empty image file
MEDIUMsaleor/core/utils/__init__.py164 # Create a BytesIO object to store the file content
MEDIUMsaleor/core/utils/__init__.py170 # Create a Django File object from the BytesIO object
MEDIUMsaleor/graphql/views.py86 # This class is our implementation of `graphene_django.views.GraphQLView`,
MEDIUMsaleor/graphql/order/mutations/order_lines_create.py211 # Create the products added event
MEDIUMsaleor/graphql/order/mutations/order_line_delete.py96 # Create the removal event
MEDIUMsaleor/graphql/order/tests/queries/test_order_events.py325 # Create the test event
MEDIUMsaleor/graphql/order/tests/queries/test_order_events.py364 # Create the test event
MEDIUM…leor/graphql/order/bulk_mutations/order_bulk_create.py2259 # Create a copy of stocks. If full iteration over order lines
MEDIUMsaleor/graphql/core/connection.py463 # This function handles pagination for list-based data (e.g., from dataloaders).
MEDIUMsaleor/graphql/core/connection.py721 # Create the edge type using the new EdgeBase.
MEDIUM…r/graphql/core/tests/garbage_collection/test_django.py23 # Create a copy of the Django connection object and close it to free resources.
MEDIUMsaleor/graphql/core/utils/reordering.py140 # Create the bulk update to run
MEDIUM…raphql/attribute/tests/queries/test_attributes_sort.py77 # Create a dummy attribute with a higher ID
MEDIUM…raphql/attribute/tests/queries/test_attributes_sort.py136 # Create a dummy attribute with a higher ID
MEDIUM…aphql/attribute/tests/queries/test_attribute_filter.py1078 # Create a second product type that shares the same attribute
MEDIUM…aphql/attribute/tests/queries/test_attribute_filter.py1152 # Create a second product type that shares the same attribute
MEDIUM…raphql/attribute/tests/queries/test_attribute_where.py1497 # Create a second product type that shares the same attribute
MEDIUM…raphql/attribute/tests/queries/test_attribute_where.py1571 # Create a second product type that shares the same attribute
MEDIUM…aphql/product/tests/test_product_sorting_attributes.py582 # Create a product with a value
MEDIUM…aphql/product/tests/test_product_sorting_attributes.py591 # Create a product having the same product type but no attribute data
MEDIUM…aphql/product/tests/test_product_sorting_attributes.py596 # Create a new product having a name that would be ordered first in ascending
MEDIUMsaleor/graphql/product/tests/test_attributes.py415 # Create a value for each dummy attribute to ensure they are not returned
MEDIUMsaleor/graphql/checkout/mutations/checkout_create.py477 # Create the checkout object
MEDIUM…tests/mutations/test_checkout_complete_with_payment.py5535 # Create a dummy payment to charge
MEDIUMsaleor/account/models.py304 # This method is overridden to accept perm as BasePermissionEnum
MEDIUMsaleor/account/models.py315 # This method is overridden to accept perm as BasePermissionEnum
Redundant / Tautological Comments56 hits · 54 pts
SeverityFileLineSnippet
LOW.claude/skills/filter-benchmark/analyze_query.py172 # Check if the planner uses different scan with seqscan off
LOWsaleor/settings.py831# Set this to `True` if you want to create default channel, warehouse, product type and
LOWsaleor/settings.py1030# Set None to route to the default queue, or a string value to use a separate one
LOWsaleor/order/actions.py1364 # Check if line for order_line_id and stock_id does not exist in DB.
LOWsaleor/order/tests/test_calculations.py1929 # Check if order was deleted
LOWsaleor/order/tests/test_calculations.py1933 # Check if prices are recalculated and returned in objects
LOWsaleor/order/tests/test_calculations.py1980 # Check if prices are recalculated and returned in objects
LOWsaleor/order/tests/test_calculations.py1993 # Check if database contains updated order by other requests
LOWsaleor/core/tests/test_metadata_manager.py148 # Check if the key with the same value was overwritten
LOWsaleor/core/db/connection.py44 # Check if we are already in an allow_writer block. If so we don't need to do
LOWsaleor/plugins/avatax/tests/test_avatax.py6789 # Set SKU to the same as the lines from the:
LOWsaleor/plugins/openid_connect/plugin.py550 # Check if the token is created by this plugin
LOWsaleor/tests/e2e/utils.py29 # Check if all key-value pairs in body1 are present in body2
LOWsaleor/tests/e2e/utils.py37 # Check if there are any extra key-value pairs in body2
LOWsaleor/checkout/tests/test_calculations.py1439 # Check if checkout was deleted.
LOWsaleor/checkout/tests/test_calculations.py1443 # Check if prices are recalculated and returned in info objects.
LOWsaleor/checkout/tests/test_calculations.py1491 # Check if prices are recalculated and returned in info objects.
LOWsaleor/checkout/tests/test_calculations.py1502 # Check if database contains updated checkout by other requests.
LOWsaleor/checkout/tests/test_calculations.py1538 # Check if checkout was deleted.
LOWsaleor/checkout/webhooks/exclude_shipping.py55 # Set cache to None as Checkout doesn't use cache flow anymore
LOW…raphql/app/tests/test_app_by_token_loader_use_cache.py185 # Check if the token was removed from the cache
LOW…raphql/app/tests/test_app_by_token_loader_use_cache.py219 # Check if the token was removed from the cache
LOW…hql/attribute/tests/mutations/test_attribute_create.py112 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py122 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py648 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py657 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py745 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py754 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py833 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py842 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py977 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py986 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py316 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py325 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py379 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py388 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py443 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py452 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py590 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py599 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py881 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py894 # Check if the attribute values were correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py1507 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py1569 # Check if the attribute was correctly created
LOW…hql/attribute/tests/mutations/test_attribute_create.py1631 # Check if the attribute was correctly created
LOW…raphql/attribute/tests/queries/test_attributes_sort.py92 # Assign attributes to the product
LOW…raphql/attribute/tests/queries/test_attributes_sort.py151 # Assign attributes to the product
LOW…phql/tax/mutations/tax_country_configuration_update.py78 # Check if only one default rate is provided (only one item without the tax
LOW…/product/tests/mutations/test_product_media_reorder.py49 # Check if order has been changed
LOW…/product/tests/mutations/test_product_media_reorder.py79 # Check if order has not been changed
LOWsaleor/graphql/checkout/tests/test_checkout.py570 # Check if webhook was called with correct payload
LOWsaleor/graphql/checkout/tests/test_checkout.py585 # Check if shipping methods are correct
LOW…eor/graphql/account/mutations/staff/customer_create.py80 # Verify if object already exists in DB.
LOWsaleor/warehouse/models.py238 # Check if the ordered line quantities can be fulfilled using stock from
LOW.github/workflows/check-migration-tasks.yml32 # Check if any new python file was added in a *migrations/tasks/ directory
LOW.github/workflows/check-migration-tasks.yml39 # Check if celeryconf.py is in the list of all changed files
Over-Commented Block74 hits · 48 pts
SeverityFileLineSnippet
LOWsaleor/patch_local.py21 # just the plain thread local (i.e, "global within
LOWsaleor/order/tests/test_tasks.py681 # 4. create draft order and associate it with the code-123
LOWsaleor/asgi/asgi_handler.py121 # Tasks need to be cleared to prevent cycles is memory. Task `self.listen_for_disconnect(receive)` always
LOWsaleor/core/cleaners/html.py21
LOWsaleor/auth/__init__.py1# This module was created to be able to handle the migration process after we move
LOWsaleor/plugins/base_plugin.py161 #
LOWsaleor/plugins/base_plugin.py181 # set password is requested.
LOWsaleor/plugins/base_plugin.py201 # Note: this method is deprecated and will be removed in a future release.
LOWsaleor/plugins/base_plugin.py221 address_created: Callable[["Address", None], None]
LOWsaleor/plugins/base_plugin.py241 # Overwrite this method if you need to trigger specific logic after an app is
LOWsaleor/plugins/base_plugin.py261 #
LOWsaleor/plugins/base_plugin.py281 # Webhook-related functionality will be moved from the plugin to core modules.
LOWsaleor/plugins/base_plugin.py301
LOWsaleor/plugins/base_plugin.py321 #
LOWsaleor/plugins/base_plugin.py441 # Overwrite this method if you need to trigger specific logic after a category is
LOWsaleor/plugins/base_plugin.py461 #
LOWsaleor/plugins/base_plugin.py481 # Webhook-related functionality will be moved from the plugin to core modules.
LOWsaleor/plugins/base_plugin.py501
LOWsaleor/plugins/base_plugin.py521 checkout_created: Callable[["Checkout", Any, None], Any]
LOWsaleor/plugins/base_plugin.py541 # Trigger when checkout is fully authorized with transactions.
LOWsaleor/plugins/base_plugin.py561 # Overwrite this method if you need to trigger specific logic after a collection is
LOWsaleor/plugins/base_plugin.py581 #
LOWsaleor/plugins/base_plugin.py601 #
LOWsaleor/plugins/base_plugin.py621 # Webhook-related functionality will be moved from the plugin to core modules.
LOWsaleor/plugins/base_plugin.py661 external_verify: Callable[
LOWsaleor/plugins/base_plugin.py681 # Webhook-related functionality will be moved from the plugin to core modules.
LOWsaleor/plugins/base_plugin.py761 # Overwrite this method if you need to trigger specific logic after a gift card is
LOWsaleor/plugins/base_plugin.py781 #
LOWsaleor/plugins/base_plugin.py801 # Webhook-related functionality will be moved from the plugin to core modules.
LOWsaleor/plugins/base_plugin.py821
LOWsaleor/plugins/base_plugin.py841 [dict, InitializedPaymentResponse | None], InitializedPaymentResponse
LOWsaleor/plugins/base_plugin.py921 # Webhook-related functionality will be moved from the plugin to core modules.
LOWsaleor/plugins/base_plugin.py941
LOWsaleor/plugins/base_plugin.py961 #
LOWsaleor/plugins/base_plugin.py981 order_cancelled: Callable[["Order", Any, None], Any]
LOWsaleor/plugins/base_plugin.py1001 # created.
LOWsaleor/plugins/base_plugin.py1021 # Note: This method is deprecated and will be removed in a future release.
LOWsaleor/plugins/base_plugin.py1041 order_refunded: Callable[["Order", Any, None], Any]
LOWsaleor/plugins/base_plugin.py1061 # Trigger when order metadata is updated.
LOWsaleor/plugins/base_plugin.py1081 # Overwrite this method if you need to trigger specific logic when a page is
LOWsaleor/plugins/base_plugin.py1101 #
LOWsaleor/plugins/base_plugin.py1121 # Webhook-related functionality will be moved from the plugin to core modules.
LOWsaleor/plugins/base_plugin.py1141
LOWsaleor/plugins/base_plugin.py1221 #
LOWsaleor/plugins/base_plugin.py1241 # created.
LOWsaleor/plugins/base_plugin.py1261 # Note: This method is deprecated and will be removed in a future release.
LOWsaleor/plugins/base_plugin.py1281 product_media_updated: Callable[["ProductMedia", Any], Any]
LOWsaleor/plugins/base_plugin.py1301 # Trigger when product variant is created.
LOWsaleor/plugins/base_plugin.py1321 # Overwrite this method if you need to trigger specific logic after a product
LOWsaleor/plugins/base_plugin.py1341 product_variant_metadata_updated: Callable[["ProductVariant", Any], Any]
LOWsaleor/plugins/base_plugin.py1361
LOWsaleor/plugins/base_plugin.py1381
LOWsaleor/plugins/base_plugin.py1401 #
LOWsaleor/plugins/base_plugin.py1421 # a promotion is ended.
LOWsaleor/plugins/base_plugin.py1441 # Note: This method is deprecated and will be removed in a future release.
LOWsaleor/plugins/base_plugin.py1461 shipping_price_created: Callable[["ShippingMethod", None], None]
LOWsaleor/plugins/base_plugin.py1481 # Trigger when shipping zone is created.
LOWsaleor/plugins/base_plugin.py1501 # Overwrite this method if you need to trigger specific logic after a shipping zone
LOWsaleor/plugins/base_plugin.py1521 #
LOWsaleor/plugins/base_plugin.py1541 # Webhook-related functionality will be moved from the plugin to core modules.
14 more matches not shown…
Cross-Language Confusion6 hits · 48 pts
SeverityFileLineSnippet
HIGHsaleor/app/tests/test_validators.py37 ("3.8 - 3.9 || ~3.10.2 || 3.11.* || 3.12.x", "3.12.1", True),
HIGHsaleor/tax/utils.py331 # the name is non-null). This is a valid case when recalculating shipping price
HIGHsaleor/tax/utils.py332 # and the tax class is null, because it was removed from the system.
HIGHsaleor/product/managers.py188 # then consider the concatenated values as empty (non-null).
HIGHsaleor/graphql/shop/filters.py9 "If the argument is not provided (null), return all countries."
HIGHsaleor/graphql/tax/types.py198 "Tax rate for a country. When tax class is null, it represents the default "
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippet
HIGHsaleor/core/telemetry/trace.py84Start a new span and set it as the current span in the context. Args: name: The name of the span
HIGHsaleor/core/telemetry/trace.py130Create a new span without setting it as current in the context. Args: name: The name of the span
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHsaleor/graphql/app/types.py212 # Resolve if app from context is the same as requested app
Verbosity Indicators11 hits · 6 pts
SeverityFileLineSnippet
LOW…/e2e/account/account/test_staff_login_disabled_mode.py37 # Step 1: Assign permissions and prepare product type and category
LOW…/e2e/account/account/test_staff_login_disabled_mode.py59 # Step 2: Login with ENABLED mode and create a product, fetch orders — should succeed
LOW…/e2e/account/account/test_staff_login_disabled_mode.py79 # Step 3: Switch to DISABLED mode
LOW…/e2e/account/account/test_staff_login_disabled_mode.py83 # Step 4: Try to create a product and fetch orders — should fail (user is not authenticated)
LOW…/e2e/account/account/test_staff_login_disabled_mode.py98 # Step 5: Switch back to ENABLED mode — should succeed again
LOW…ccount/account/test_staff_login_customers_only_mode.py37 # Step 1: Assign permissions and prepare product type and category
LOW…ccount/account/test_staff_login_customers_only_mode.py59 # Step 2: Login with ENABLED mode and create a product, fetch orders — should succeed
LOW…ccount/account/test_staff_login_customers_only_mode.py79 # Step 3: Switch to CUSTOMERS_ONLY mode
LOW…ccount/account/test_staff_login_customers_only_mode.py83 # Step 4: Try to create a product and fetch orders — should fail
LOW…ccount/account/test_staff_login_customers_only_mode.py94 # Step 5: Switch back to ENABLED mode — should succeed again
LOWsaleor/checkout/complete_checkout.py1903 # As payment processing might take a while, we need to check if the payment
AI Slop Vocabulary3 hits · 4 pts
SeverityFileLineSnippet
MEDIUMsaleor/order/fetch.py115 """Fetch the necessary order lines info in order to recalculate its prices.
LOWsaleor/core/tests/test_view.py81 # When DEBUG=False, it should just return HTTP 404
MEDIUMsaleor/static/populatedb_data.json9630 "text": "3 We enable developers to <a href=\"https://docs.saleor.io/developer/extending/apps/overview\">ex