Skip to content
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

Correct pylint errors #29

Merged
merged 1 commit into from
Aug 24, 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
6 changes: 4 additions & 2 deletions examples/amg88xx_rpi_thermal_cam.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
import math
import time

import numpy as np
import pygame
import busio
import board

import numpy as np
import pygame
from scipy.interpolate import griddata

from colour import Color
Expand All @@ -28,7 +28,9 @@
COLORDEPTH = 1024

os.putenv("SDL_FBDEV", "/dev/fb1")
# pylint: disable=no-member
pygame.init()
# pylint: enable=no-member

# initialize the sensor
sensor = adafruit_amg88xx.AMG88XX(i2c_bus)
Expand Down
2 changes: 1 addition & 1 deletion examples/amg88xx_rpi_thermal_cam_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
import sys
import math
import time
import numpy as np
import busio
import board
import numpy as np
from scipy.interpolate import griddata
from colour import Color
import adafruit_amg88xx
Expand Down