Skip to content

Pylint updates and ran black #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions examples/display_shapes_sparkline_ticks.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,15 @@
# add new values to sparkline `add_value`
# update the sparklines `update`

import random
import time
import board
import displayio
import terminalio
import random
import time
from adafruit_display_shapes.sparkline import Sparkline
from adafruit_ili9341 import ILI9341
from adafruit_display_text import label
from adafruit_display_shapes.line import Line
from adafruit_display_shapes.rect import Rect
from adafruit_display_text import label

if "DISPLAY" not in dir(board):
# Setup the LCD display with driver
Expand All @@ -54,7 +53,6 @@

while not spi.try_lock():
spi.configure(baudrate=32000000)
pass
spi.unlock()

display_bus = displayio.FourWire(
Expand Down
7 changes: 0 additions & 7 deletions examples/display_shapes_sparkline_triple.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@
import displayio
import terminalio
from adafruit_display_shapes.sparkline import Sparkline
from adafruit_ili9341 import ILI9341
from adafruit_display_text import label

import gc

if "DISPLAY" not in dir(board):
# Setup the LCD display with driver
# You may need to change this to match the display driver for the chipset
Expand All @@ -54,7 +51,6 @@

while not spi.try_lock():
spi.configure(baudrate=32000000)
pass
spi.unlock()

display_bus = displayio.FourWire(
Expand Down Expand Up @@ -264,6 +260,3 @@
# The display seems to be less jittery if a small sleep time is provided
# You can adjust this to see if it has any effect
time.sleep(0.01)

# Uncomment the next line to print the amount of available memory
# print('memory free: {}'.format(gc.mem_free()))