Skip to content

Commit 682a997

Browse files
committed
flake8 configuration and more fixes
1 parent 5db6083 commit 682a997

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

parallel/parallelppdev.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -363,15 +363,15 @@ def PPGETTIME(self):
363363
"""
364364
ret = struct.pack('ll', 0, 0)
365365
ret = fcntl.ioctl(self._fd, PPGETTIME, ret)
366-
return timevalToFloat(ret)
366+
return self.timevalToFloat(ret)
367367

368368
def PPSETTIME(self, time):
369369
"""
370370
Sets the time-out (see PPGETTIME for more information).
371371
'time' is the new time-out in seconds; floating-point values
372372
are acceptable.
373373
"""
374-
fcntl.ioctl(self._fd, PPSETTIME, floatToTimeval(time))
374+
fcntl.ioctl(self._fd, PPSETTIME, self.floatToTimeval(time))
375375

376376
def PPGETMODES(self):
377377
"""

tox.ini

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# tox is not used, but flake 8 reads this file
2+
[flake8]
3+
max-line-length = 120

0 commit comments

Comments
 (0)