Make more pylint tweaks
This commit is contained in:
parent
4bebce3ac7
commit
6f629abcab
3 changed files with 8 additions and 7 deletions
|
|
@ -13,7 +13,7 @@ All text above must be included in any redistribution.
|
|||
"""
|
||||
|
||||
# Events as defined in http://www.music.mcgill.ca/~ich/classes/mumt306/StandardMIDIfileformat.html
|
||||
# pylint: disable=unused-argument
|
||||
# pylint: disable=unused-argument,no-self-use
|
||||
|
||||
|
||||
class Event(object):
|
||||
|
|
|
|||
|
|
@ -14,11 +14,12 @@ All text above must be included in any redistribution.
|
|||
|
||||
class MidiHeader(object):
|
||||
|
||||
def __init__(self, midi_format,
|
||||
number_of_tracks,
|
||||
ticks_per_frame,
|
||||
negative_SMPTE_format,
|
||||
ticks_per_quarternote):
|
||||
def __init__(self,
|
||||
midi_format,
|
||||
number_of_tracks,
|
||||
ticks_per_frame,
|
||||
negative_SMPTE_format,
|
||||
ticks_per_quarternote):
|
||||
self._format = midi_format
|
||||
self._number_of_tracks = number_of_tracks
|
||||
self._ticks_per_frame = ticks_per_frame
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ Licensed under the MIT license.
|
|||
All text above must be included in any redistribution.
|
||||
"""
|
||||
|
||||
# pylint: disable=no-self-use,too-many-return-statements,too-man-branches
|
||||
# pylint: disable=no-self-use,too-many-return-statements,too-many-branches,inconsistent-return-statements
|
||||
|
||||
import header
|
||||
import events
|
||||
|
|
|
|||
Loading…
Reference in a new issue