Skip to content

Commit

Permalink
Linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kattni committed Aug 9, 2018
1 parent 1110509 commit b2cdaee
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions adafruit_hid/keyboard.py
Expand Up @@ -29,12 +29,12 @@
"""

import time
import usb_hid

from micropython import const
import usb_hid

from .keycode import Keycode


class Keyboard:
"""Send HID keyboard reports."""

Expand Down
2 changes: 1 addition & 1 deletion examples/joywing_gamepad.py
Expand Up @@ -4,9 +4,9 @@

import board
import busio
from micropython import const
import adafruit_seesaw
from adafruit_hid.gamepad import Gamepad
from micropython import const

def range_map(value, in_min, in_max, out_min, out_max):
return (value - in_min) * (out_max - out_min) // (in_max - in_min) + out_min
Expand Down
4 changes: 2 additions & 2 deletions examples/keyboard_shortcuts.py
@@ -1,8 +1,8 @@
import time
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode
import board
import digitalio
from adafruit_hid.keyboard import Keyboard
from adafruit_hid.keycode import Keycode

kbd = Keyboard()

Expand Down
2 changes: 1 addition & 1 deletion examples/scroll.py
@@ -1,7 +1,7 @@
import time
from adafruit_hid.mouse import Mouse
import board
import digitalio
from adafruit_hid.mouse import Mouse

mouse = Mouse()

Expand Down
2 changes: 1 addition & 1 deletion examples/simple_gamepad.py
@@ -1,6 +1,6 @@
import analogio
import board
import digitalio
import analogio

from adafruit_hid.gamepad import Gamepad

Expand Down

0 comments on commit b2cdaee

Please sign in to comment.