diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-11-08 10:53:40 -0800 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 12:21:33 -0800 |
commit | d60e4d87d8e83cc7810af2b8a9e01147096b3475 (patch) | |
tree | 9f324ad198b8aaa036c257049956dfd4dd1bfdd5 /host/tests/devtest | |
parent | ec488d49c04aab347ebdfa0da3e516fc34610b0b (diff) | |
download | uhd-d60e4d87d8e83cc7810af2b8a9e01147096b3475.tar.gz uhd-d60e4d87d8e83cc7810af2b8a9e01147096b3475.tar.bz2 uhd-d60e4d87d8e83cc7810af2b8a9e01147096b3475.zip |
mpm: Clean up code, improve Pylint score
Many small cleanups:
- Fix copyright headers
- Fix superfluous imports
- Pull some constants out of classes where appropriate
- Fix formatting
- Improve/fix some docstrings
- Disable specific Pylint warnings where appropriate
- Global catches use BaseException instead of Exception
- Don't use len() for empty checks
- Make sure to declare all self attributes in __init__ (note: this is
particularly of interest for E310, becuase its regular init happens
outside of __init__)
- Compacted some E310 code that had multi-DB checks
Diffstat (limited to 'host/tests/devtest')
0 files changed, 0 insertions, 0 deletions