Skip to content

Commit

Permalink
Fix linter warnings in examples/gps/main.py (#545)
Browse files Browse the repository at this point in the history
Warnings:

* F401 kivy.clock.Clock imported but unused.
* E303 too many blank lines.
  • Loading branch information
Francisco authored Mar 23, 2020
1 parent d645d92 commit 63b8192
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/gps/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from plyer import gps
from kivy.app import App
from kivy.properties import StringProperty
from kivy.clock import Clock, mainthread
from kivy.clock import mainthread
from kivy.utils import platform

kv = '''
Expand Down Expand Up @@ -33,7 +33,6 @@ class GpsTest(App):
gps_location = StringProperty()
gps_status = StringProperty('Click Start to get GPS location updates')


def request_android_permissions(self):
"""
Since API 23, Android requires permission to be requested at runtime.
Expand Down

0 comments on commit 63b8192

Please sign in to comment.