diff --git a/.pre-commit b/.pre-commit index 1a375d3..5222b6a 100755 --- a/.pre-commit +++ b/.pre-commit @@ -1,3 +1,3 @@ #!/usr/bin/env bash -nosetests -w elodie/tests && pep8 elodie --exclude=tests +nosetests -w elodie/tests && flake8 elodie --exclude=tests diff --git a/creative/logo@300x.png b/creative/logo@300x.png index 933a43e..ea7889b 100644 Binary files a/creative/logo@300x.png and b/creative/logo@300x.png differ diff --git a/elodie/geolocation.py b/elodie/geolocation.py index 499c095..80c9b80 100644 --- a/elodie/geolocation.py +++ b/elodie/geolocation.py @@ -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 + ) ) diff --git a/elodie/media/audio.py b/elodie/media/audio.py index e373916..89a1f38 100644 --- a/elodie/media/audio.py +++ b/elodie/media/audio.py @@ -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 diff --git a/elodie/media/video.py b/elodie/media/video.py index 0f7a67d..9f1f74b 100644 --- a/elodie/media/video.py +++ b/elodie/media/video.py @@ -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)