Skip to content

Commit 5297b33

Browse files
committed
black formatting
1 parent 46f0b43 commit 5297b33

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

posthog/client.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,7 @@ def identify(self, distinct_id=None, properties=None, timestamp=None, uuid=None)
118118

119119
return self._enqueue(msg)
120120

121-
def capture(
122-
self, distinct_id=None, event=None, properties=None, timestamp=None, uuid=None, groups=None
123-
):
121+
def capture(self, distinct_id=None, event=None, properties=None, timestamp=None, uuid=None, groups=None):
124122
properties = properties or {}
125123
require("distinct_id", distinct_id, ID_TYPES)
126124
require("properties", properties, dict)

posthog/test/test_client.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@ def test_basic_identify(self):
130130

131131
def test_advanced_identify(self):
132132
client = self.client
133-
success, msg = client.identify(
134-
"distinct_id", {"trait": "value"}, datetime(2014, 9, 3), "new-uuid"
135-
)
133+
success, msg = client.identify("distinct_id", {"trait": "value"}, datetime(2014, 9, 3), "new-uuid")
136134

137135
self.assertTrue(success)
138136

@@ -158,9 +156,7 @@ def test_basic_set(self):
158156

159157
def test_advanced_set(self):
160158
client = self.client
161-
success, msg = client.set(
162-
"distinct_id", {"trait": "value"}, datetime(2014, 9, 3), "new-uuid"
163-
)
159+
success, msg = client.set("distinct_id", {"trait": "value"}, datetime(2014, 9, 3), "new-uuid")
164160

165161
self.assertTrue(success)
166162

@@ -186,9 +182,7 @@ def test_basic_set_once(self):
186182

187183
def test_advanced_set_once(self):
188184
client = self.client
189-
success, msg = client.set_once(
190-
"distinct_id", {"trait": "value"}, datetime(2014, 9, 3), "new-uuid"
191-
)
185+
success, msg = client.set_once("distinct_id", {"trait": "value"}, datetime(2014, 9, 3), "new-uuid")
192186

193187
self.assertTrue(success)
194188

0 commit comments

Comments
 (0)