Commit graph

11 commits

Author SHA1 Message Date
Matthew Giaconelli
14eae96e37 fix issue where data dir doesnt exist on reboot 2023-05-06 22:47:11 -07:00
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
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
Arvid Norlander
9898b5d80a
Fix some Python errors and clean up unused imports. 2020-08-03 19:34:20 +02:00
Viktor Dragomiretskyy
74598ad291 * Use single instance of a systemd service (at least for now)
* Switch to use logger instead of prints
* Catch signals to enforce graceful shutdown
2020-07-13 17:48:00 +12:00
Viktor Dragomiretskyy
e2fb0f9af7 Fix typos, thanks to @RaghavRao 2020-07-13 11:19:35 +12: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
04fa59ce1d Add option to start service on a specific device identified by bus number and device address. 2020-07-11 17:03:27 +12:00
Viktor Dragomiretskyy
6a24f89a51 Refactor package name 2020-07-09 16:28:38 +12:00
Renamed from proto9x/init.py (Browse further)