Skip to content

Commit 383c7c6

Browse files
fix: linting issues
1 parent 784765a commit 383c7c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

devcycle_python_sdk/local_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ def get_sdk_platform(self) -> str:
5858
def get_openfeature_provider(self) -> AbstractProvider:
5959
if self._openfeature_provider is None:
6060
self._openfeature_provider = DevCycleProvider(self)
61-
61+
6262
# Update platform data for OpenFeature
6363
self._platform_data.sdkPlatform = 'python-of'
6464
self.local_bucketing.set_platform_data(
6565
json.dumps(self._platform_data.to_json())
6666
)
67-
67+
6868
return self._openfeature_provider
6969

7070
def is_initialized(self) -> bool:

devcycle_python_sdk/open_feature_provider/provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ def __init__(self, devcycle_client: AbstractDevCycleClient):
3030
def initialize(self, evaluation_context: EvaluationContext) -> None:
3131
timeout = 2
3232
start_time = time.time()
33-
33+
3434
# Wait for the client to be initialized or timeout
3535
while not self.client.is_initialized():
3636
if time.time() - start_time > timeout:
3737
raise GeneralError(f"DevCycleProvider initialization timed out after {timeout} seconds")
3838
time.sleep(0.1) # Sleep briefly to avoid busy waiting
39-
39+
4040
if self.client.is_initialized():
4141
logger.debug("DevCycleProvider initialized successfully")
4242

0 commit comments

Comments
 (0)