Skip to content

Commit b7c7e40

Browse files
Fix linting errors on __init__.py
1 parent 3e6f03f commit b7c7e40

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

analytics/__init__.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,30 +19,37 @@ def track(*args, **kwargs):
1919
"""Send a track call."""
2020
_proxy('track', *args, **kwargs)
2121

22+
2223
def identify(*args, **kwargs):
2324
"""Send a identify call."""
2425
_proxy('identify', *args, **kwargs)
2526

27+
2628
def group(*args, **kwargs):
2729
"""Send a group call."""
2830
_proxy('group', *args, **kwargs)
2931

32+
3033
def alias(*args, **kwargs):
3134
"""Send a alias call."""
3235
_proxy('alias', *args, **kwargs)
3336

37+
3438
def page(*args, **kwargs):
3539
"""Send a page call."""
3640
_proxy('page', *args, **kwargs)
3741

42+
3843
def screen(*args, **kwargs):
3944
"""Send a screen call."""
4045
_proxy('screen', *args, **kwargs)
4146

47+
4248
def flush():
4349
"""Tell the client to flush."""
4450
_proxy('flush')
4551

52+
4653
def join():
4754
"""Block program until the client clears the queue"""
4855
_proxy('join')
@@ -58,8 +65,9 @@ def _proxy(method, *args, **kwargs):
5865
"""Create an analytics client if one doesn't exist and send to it."""
5966
global default_client
6067
if not default_client:
61-
default_client = Client(write_key, host=host, debug=debug, on_error=on_error,
62-
send=send, sync_mode=sync_mode)
68+
default_client = Client(write_key, host=host, debug=debug,
69+
on_error=on_error, send=send,
70+
sync_mode=sync_mode)
6371

6472
fn = getattr(default_client, method)
6573
fn(*args, **kwargs)

0 commit comments

Comments
 (0)