diff options
author | Fred Wright <fw@fwright.net> | 2017-07-14 15:46:45 -0700 |
---|---|---|
committer | Fred Wright <fw@fwright.net> | 2017-07-14 15:46:45 -0700 |
commit | bda3f970bd713cf553dcca47beb22682a49c7081 (patch) | |
tree | 7e86c72d197cd335455c8da85e7045dd632ba35e /gpscat | |
parent | 81e3562ddf0817e513518dea866276729361d5e8 (diff) | |
download | gpsd-bda3f970bd713cf553dcca47beb22682a49c7081.tar.gz |
Fixes some pylint issues.
This doesn't fix all complaints by pylint, but significantly
reduces their number. Ditto for pep8 complaints.
Also makes a couple of related cosmetic edits.
TESTED:
Ran "scons build-all check" with no errors.
Both "pylint" and "pep8" targets report fewer issues.
Diffstat (limited to 'gpscat')
-rwxr-xr-x | gpscat | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -10,15 +10,17 @@ # Preserve this property! from __future__ import absolute_import, print_function, division -import curses.ascii import getopt -import gps.packet as sniffer import os import select import socket import sys import termios +import curses.ascii + +import gps.packet as sniffer + # The spec says 82, but some receivers (TN-200, GSW 2.3.2) output 86 characters # the Skyrtaq S2525F8 emits 100 chars NMEA_MAX = 102 |