gh-40 Fix flake8 warnings

This commit is contained in:
Jaisen Mathai 2016-01-04 01:07:59 -08:00
parent 8e3e5d63f5
commit 8971ae4cea
5 changed files with 7 additions and 7 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash
nosetests -w elodie/tests && pep8 elodie --exclude=tests
nosetests -w elodie/tests && flake8 elodie --exclude=tests

Binary file not shown.

Before

Width:  |  Height:  |  Size: 111 KiB

After

Width:  |  Height:  |  Size: 99 KiB

View File

@ -90,8 +90,10 @@ def decimal_to_dms(decimal, signed=True):
return (
pyexiv2.Rational(degrees, 1),
pyexiv2.Rational(minutes, 1),
pyexiv2.Rational(subseconds_fraction.numerator,
subseconds_fraction.denominator)
pyexiv2.Rational(
subseconds_fraction.numerator,
subseconds_fraction.denominator
)
)

View File

@ -4,9 +4,6 @@ Audio package that handles all audio operations
Inherits from Video package
"""
from elodie import constants
from elodie import plist_parser
from media import Media
from video import Video

View File

@ -25,7 +25,8 @@ class Video(Media):
"""
@param, source, string, The fully qualified path to the video file
@param, Audio, class or none, The Audio class if being extendted by the Audio class
@param, Audio, class or none, The Audio class if being extendted
by the Audio class
"""
def __init__(self, source=None):
super(Video, self).__init__(source)