Skip to content

Commit 3274473

Browse files
committed
pylint fixes
1 parent cfcb98b commit 3274473

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed

.vscode/settings.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,14 @@
55
"--disable=W0012",
66
"--extension-pkg-whitelist=RPi",
77
],
8-
"files.trimTrailingWhitespace": true
8+
"files.trimTrailingWhitespace": true,
9+
"python.testing.unittestArgs": [
10+
"-v",
11+
"-s",
12+
"./tests",
13+
"-p",
14+
"test_*.py"
15+
],
16+
"python.testing.pytestEnabled": false,
17+
"python.testing.unittestEnabled": true
918
}

src/tmc_driver/enable_control/_tmc_ec_pin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ def pin_en(self):
1919

2020
def __init__(self, pin_en:int = None):
2121
"""constructor"""
22+
super().__init__()
2223
self._pin_en = pin_en
2324

2425

src/tmc_driver/enable_control/_tmc_ec_toff.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def tmc_com(self, tmc_com):
2424

2525
def __init__(self):
2626
"""constructor"""
27+
super().__init__()
2728
self._tmc_com:TmcCom = None
2829
self._default_toff = 3
2930

src/tmc_driver/motion_control/_tmc_mc.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#pylint: disable=too-many-instance-attributes
2+
#pylint: disable=unnecessary-pass
23
"""
34
Motion Control base module
45
"""

0 commit comments

Comments
 (0)