Commit graph

9 commits

Author SHA1 Message Date
Arvid Norlander
844c5100ef
Add typing information 2020-08-06 11:48:19 +02:00
Arvid Norlander
6a5a32d29f
Various small and easy cleanup found by inspection in PyCharm 2020-08-06 11:48:19 +02:00
Arvid Norlander
a17ad52102
Use optimise imports in PyCharm for cleanup.
This sorts imports into sections:
* From standard library
* From other libraries
* From the current project

Each section is sorted alphabetically.
2020-08-06 11:48:19 +02:00
Arvid Norlander
9a5b045378
Get rid of star imports.
These are dangerous as you will import not only the functions defined
in the other module but also all of it's imports! This makes automated
cleanups brittle.
2020-08-06 11:46:19 +02:00
Arvid Norlander
9dc0c14aed
Automated formatting with YAPF.
PEP8 settings are used except the low 80 column limit has be increased
to a more reasonable 100 columns.
2020-08-06 11:46:19 +02:00
Viktor Dragomiretskyy
600202b4d6 Incrementally pair with the device. Try downloading the firmware from postinst. 2020-07-12 14:49:00 +12:00
Viktor Dragomiretskyy
7733cac3cb Pass both vendor and product to override autodetection. Autodetect 0090 as well. 2020-07-11 02:08:18 +12:00
Viktor Dragomiretskyy
e33d4e956e Fix scripts 2020-07-11 01:16:42 +12:00
Viktor Dragomiretskyy
19f49e038b Initial setuptools packaging 2020-07-10 15:00:36 +12:00