Skip to content

Commit

Permalink
improve coding style for pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
miRoox committed Aug 24, 2021
1 parent abf226d commit 5a7125b
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions tools/tplgtool-ng/tplgtool.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@

import argparse
import enum
from construct import *
from construct import this, ListContainer, Struct, Enum, FlagsEnum, Const, Switch, Array, Bytes, GreedyRange, FocusedSeq, Padded, Padding, PaddedString, Flag, Byte, Int16ul, Int32ul, Int64ul, Terminated

class TplgType(enum.IntEnum):
"File and Block header data types. `SND_SOC_TPLG_TYPE_`"
MIXER = 1,
BYTES = 2,
ENUM = 3,
DAPM_GRAPH = 4,
DAPM_WIDGET = 5,
DAI_LINK = 6,
PCM = 7,
MANIFEST = 8,
CODEC_LINK = 9,
BACKEND_LINK = 10,
PDATA = 11,
DAI = 12,
MIXER = 1
BYTES = 2
ENUM = 3
DAPM_GRAPH = 4
DAPM_WIDGET = 5
DAI_LINK = 6
PCM = 7
MANIFEST = 8
CODEC_LINK = 9
BACKEND_LINK = 10
PDATA = 11
DAI = 12

class DaiFormat(enum.IntEnum):
"DAI physical PCM data formats. `SND_SOC_DAI_FORMAT_`"
Expand Down

0 comments on commit 5a7125b

Please sign in to comment.