Skip to content

Commit

Permalink
Fix LGTM alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jostar Yang committed Oct 29, 2021
1 parent 80eccc6 commit 08168dc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from .helper import APIHelper
from sonic_py_common.logger import Logger
from minipack.fpgautil import FpgaUtil
import fbfpgaio
except ImportError as e:
raise ImportError(repr(e) + " - required module not found")

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/usr/bin/env python3
import os
import io
import fcntl
import termios
import struct
import subprocess
from mmap import *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# provides the thermal device status which are available in the platform
#
#############################################################################

import os
import os.path
import glob

try:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,12 @@
# 5/29/2019: Jostar create for minipack
# -----------------------------------------------------------
try:
import os
import sys, getopt
import subprocess
import imp
import logging
import logging.config
import logging.handlers
import types
import sys
import time # this is only being used as part of the example
import traceback
import fbfpgaio
import re
import time
from select import select
#from ctypes import fbfpgaio

except ImportError as e:
raise ImportError('%s - required module not found' % str(e))
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#!/usr/bin/env python

import os
import sys
from setuptools import setup, Extension
os.listdir
Expand Down

0 comments on commit 08168dc

Please sign in to comment.