python: Format and sort imports

ruff check --select I001 --fix applied to all python files that had
this as only issue.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
This commit is contained in:
Pieter De Gendt 2024-11-21 13:49:46 +01:00 committed by Benjamin Cabé
commit bf2db7afc0
37 changed files with 78 additions and 210 deletions

View file

@ -9,17 +9,16 @@ SPDX-License-Identifier: Apache-2.0
"""
import time
import logging
import zlib
import re
import random
import string
import binascii
from leshan import Leshan
import logging
import random
import re
import string
import time
import zlib
from twister_harness import Shell
from twister_harness import DeviceAdapter
from leshan import Leshan
from twister_harness import DeviceAdapter, Shell
logger = logging.getLogger(__name__)

View file

@ -7,7 +7,6 @@
from argparse import ArgumentParser
from math import ceil
CHUNK = "This is a fragment of generated C string. "