summaryrefslogtreecommitdiff
path: root/gpssim.py
Commit message (Collapse)AuthorAgeFilesLines
* gpssim.py: Add test for PYTHONPATHGary E. Miller2018-11-161-2/+9
|
* gpssim.py: pep8 cleanup.Gary E. Miller2018-07-261-0/+2
| | | | Note the program pep8 is now called pycodestyle
* gpssim.py: Fix for PEP8Gary E. Miller2018-06-201-4/+4
|
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* gpssim.py: fix mis-spelling var found by pylintGary E. Miller2017-07-261-1/+1
| | | | course != cour
* Fixes some pylint issues.Fred Wright2017-07-141-2/+3
| | | | | | | | | | | 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.
* gps/fake.py, gpssim.py: pep8 fixesGary E. Miller2017-07-011-1/+1
|
* gpssim.py: pep8 fixesGary E. Miller2017-07-011-36/+39
|
* Fixes Python programs to use new-style classes.Fred Wright2016-04-111-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Although this isn't strictly a Python 3 requirement, using the new-style class definition syntax improves consistency between Python 2 and Python 3. Old-style classes have been deprecated since Python 2.2, but many such definitions linger on. Python 3 eliminates old-style classes, but instead of complaining about old-style definitions, it simply unconditionally and silently makes all classes new-style. The only incompatible differences are quite subtle and rarely matter in practice, but things are more consistent across versions if the new-style definitions are used. Also, the preferred method for subclasses to invoke parent init methods is via the super() construct, which is only available with new-style classes. Using super() is especially useful with multiple inheritance, which it handles automatically (provided that the init methods have compatible signatures). TESTED: Using an SConstruct patched to run the build helpers with the target Python, ran "scons build-all check ", as well as gpsprof and xgps, with all six supported Python versions (except 2.6 for xgps).
* Forward-port Python utilities to run polyglot under either Python 2 or 3.Eric S. Raymond2016-03-221-12/+12
| | | | | | For the moment most shebang lines still say 'python2' rather than just 'python'. This is because the client code in gps/ hasn't been touched yet; the internal imports break under Python 3 and that needs to be fixed.
* [pep8] whitespace cleanup in gpssim.pyJon Schlueter2016-02-061-8/+30
|
* gpssim.py: pylint cleanup. This code is not yet shipped.Eric S. Raymond2015-02-221-30/+31
|
* FIXME -> FIX-ME, so I can walk through these without tripping over autotools.Eric S. Raymond2010-04-261-1/+1
|
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-2/+0
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-0/+3
|
* expand the Id keywordChris Kuethe2009-01-081-0/+1
|
* gpssim uses the new geodetic-separation wrapper.Eric S. Raymond2009-01-081-4/+2
|
* Add GLL reporter to NMEA class.Eric S. Raymond2009-01-071-0/+16
|
* Cleaned up and simplified command parsing...Eric S. Raymond2009-01-071-43/+83
| | | | ...and a better invocation framework with an actual main.
* Proof-of-concept GPS simulator code.Eric S. Raymond2009-01-071-0/+231