Skip to content

Commit 54a0995

Browse files
chore: py code style fix
Signed-off-by: Dori Medini <[email protected]>
1 parent 5ba65de commit 54a0995

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

echonet/l1_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
import functools
2+
import inspect
3+
import logging
14
from dataclasses import dataclass
25
from datetime import datetime, timezone
36
from typing import Any, Callable, Dict, List, Optional
47

5-
import functools
6-
import inspect
7-
import logging
88
import requests
99
from l1_constants import LOG_MESSAGE_TO_L2_EVENT_SIGNATURE, STARKNET_L1_CONTRACT_ADDRESS
1010

echonet/tests/test_l1_client.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33

44
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))
55

6-
import requests
76
import unittest
8-
from l1_client import L1Client
97
from unittest.mock import Mock, patch
108

9+
import requests
10+
from l1_client import L1Client
11+
1112

1213
class TestL1Client(unittest.TestCase):
1314
BLOCK_NUMBER_SAMPLE = 20_861_344 # 0x13e51a0

echonet/tests/test_l1_events.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1+
import copy
12
import os
23
import sys
3-
4-
import copy
54
import unittest
65

76
sys.path.insert(0, os.path.join(os.path.dirname(__file__), ".."))

scripts/set_log_level.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import argparse
2+
import signal
3+
import socket
24
import subprocess
35
import sys
46
import time
57
from typing import List
68

79
import requests
8-
import signal
9-
import socket
1010

1111
SLEEP_INTERVAL = 0.4
1212

0 commit comments

Comments
 (0)