Skip to content

Commit

Permalink
code style fixes with flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrDlouhy committed Sep 14, 2016
1 parent 2aaa7f4 commit 2acfa22
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions django_gpxpy/gpx_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

import gzip
import logging

from django.contrib.gis.geos import LineString, MultiLineString, Point
from django.core.exceptions import ValidationError
from django.contrib.gis.geos import Point, LineString, MultiLineString

import gpxpy
import logging
logger = logging.getLogger(__name__)


Expand Down
2 changes: 1 addition & 1 deletion tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
},
}
4 changes: 2 additions & 2 deletions tests/test.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
from django_gpxpy.gpx_parse import parse_gpx, parse_gpx_filefield
from django.test import TestCase
from django.core.exceptions import ValidationError
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import TestCase

from django_gpxpy.gpx_parse import parse_gpx, parse_gpx_filefield


class DjangoGpxPyTests(TestCase):
Expand Down

0 comments on commit 2acfa22

Please sign in to comment.