Skip to content

Commit fa5e15c

Browse files
committed
Remove automocks and tweak import order for lint.
1 parent 4c1512d commit fa5e15c

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

adafruit_crickit/crickit.py

100644100755
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,17 @@
4848

4949
#pylint: disable=wrong-import-position
5050
sys.path.insert(0, ".frozen") # Prefer frozen modules over local.
51-
from adafruit_crickit.terminals import (NEOPIXEL, _SIGNAL_SET,
52-
_MOTOR1_SET, _MOTOR2_SET, _MOTOR_SET,
53-
_DRIVE_SET, _PWM_SET, _TOUCH_SET)
5451

5552
from adafruit_seesaw.seesaw import Seesaw
5653
# This is very common so import it in advance.
5754
# Takes less memory to import PWMOut once than have multiple import statements.
5855
# Each import statement is about 60 bytes.
5956
from adafruit_seesaw.pwmout import PWMOut
6057

58+
from adafruit_crickit.terminals import (NEOPIXEL, _SIGNAL_SET,
59+
_MOTOR1_SET, _MOTOR2_SET, _MOTOR_SET,
60+
_DRIVE_SET, _PWM_SET, _TOUCH_SET)
61+
6162
__version__ = "0.0.0-auto.0"
6263
__repo__ = "https://github.com/adafruit/Adafruit_CircuitPython_Crickit.git"
6364

docs/conf.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
'CircuitPython': ('https://circuitpython.readthedocs.io/en/latest/', None)}
2828

2929
# Libraries we depend on but don't need for generating docs.
30-
autodoc_mock_imports = ["board", "busio", "adafruit_seesaw", "micropython"]
30+
autodoc_mock_imports = []
3131

3232
# Add any paths that contain templates here, relative to this directory.
3333
templates_path = ['_templates']

0 commit comments

Comments
 (0)