Skip to content

Commit 98a65eb

Browse files
committed
Refactor library in order to separate components.
1 parent d5bf517 commit 98a65eb

File tree

6 files changed

+464
-450
lines changed

6 files changed

+464
-450
lines changed

adafruit_platformdetect/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"""
2323
Attempt to detect the current platform.
2424
"""
25-
import sys
26-
import platform
2725
import re
26+
2827
from adafruit_platformdetect.board import Board
2928
from adafruit_platformdetect.chip import Chip
3029

30+
3131
# Various methods here may retain state in future, so tell pylint not to worry
3232
# that they don't use self right now:
3333
# pylint: disable=no-self-use

0 commit comments

Comments
 (0)