Skip to content

Commit 2d17d42

Browse files
committed
chore: merge lint patch
2 parents 0ccfd8e + feb7883 commit 2d17d42

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

UnleashClient/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
from UnleashClient.core import UnleashClientContract
3636
from UnleashClient.core.client import (
3737
Evaluator,
38-
RunState,
3938
ExperimentalMode,
39+
RunState,
4040
build_ready_callback,
4141
)
4242
from UnleashClient.events import BaseEvent

UnleashClient/core/client.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
from typing import Callable
2-
from dataclasses import asdict
3-
from enum import IntEnum
4-
from typing import Any, Dict, Optional
51
import uuid
2+
from dataclasses import asdict
63
from datetime import datetime, timezone
4+
from enum import IntEnum
5+
from typing import Any, Dict, Optional, Callable
76

87
from UnleashClient.events import (
98
BaseEvent,

tests/unit_tests/test_client.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1293,7 +1293,9 @@ def test_existing_properties_are_retained_when_custom_context_properties_are_in_
12931293
context = {"myContext": "1234", "properties": {"yourContext": "1234"}}
12941294

12951295
assert "myContext" in unleash_client._evaluator._safe_context(context)["properties"]
1296-
assert "yourContext" in unleash_client._evaluator._safe_context(context)["properties"]
1296+
assert (
1297+
"yourContext" in unleash_client._evaluator._safe_context(context)["properties"]
1298+
)
12971299
unleash_client.destroy()
12981300

12991301

0 commit comments

Comments
 (0)