diff --git a/sentry_sdk/integrations/featureflags.py b/sentry_sdk/integrations/feature_flags.py similarity index 91% rename from sentry_sdk/integrations/featureflags.py rename to sentry_sdk/integrations/feature_flags.py index 46947eec72..2aeabffbfa 100644 --- a/sentry_sdk/integrations/featureflags.py +++ b/sentry_sdk/integrations/feature_flags.py @@ -16,7 +16,7 @@ class FeatureFlagsIntegration(Integration): @example ``` import sentry_sdk - from sentry_sdk.integrations.featureflags import FeatureFlagsIntegration, add_feature_flag + from sentry_sdk.integrations.feature_flags import FeatureFlagsIntegration, add_feature_flag sentry_sdk.init(dsn="my_dsn", integrations=[FeatureFlagsIntegration()]); @@ -25,7 +25,7 @@ class FeatureFlagsIntegration(Integration): ``` """ - identifier = "featureflags" + identifier = "feature_flags" @staticmethod def setup_once(): diff --git a/tests/integrations/featureflags/__init__.py b/tests/integrations/feature_flags/__init__.py similarity index 100% rename from tests/integrations/featureflags/__init__.py rename to tests/integrations/feature_flags/__init__.py diff --git a/tests/integrations/featureflags/test_featureflags.py b/tests/integrations/feature_flags/test_feature_flags.py similarity index 98% rename from tests/integrations/featureflags/test_featureflags.py rename to tests/integrations/feature_flags/test_feature_flags.py index 539e910607..ca6ac16949 100644 --- a/tests/integrations/featureflags/test_featureflags.py +++ b/tests/integrations/feature_flags/test_feature_flags.py @@ -4,7 +4,7 @@ import pytest import sentry_sdk -from sentry_sdk.integrations.featureflags import ( +from sentry_sdk.integrations.feature_flags import ( FeatureFlagsIntegration, add_feature_flag, )