Commit graph

14 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
Jonatan Steuernagel
a73bd66ef3
Change all write paths to /var/run/python-validity
This is to ensure functionality of the python-validity
on systems who restrict write access to the /usr directory,
like Fedora Silverblue.
2023-04-18 16:46:45 +02:00
Arvid Norlander
1078c3873f
Consolidate definitions related to firmware files.
This fixes the TODO comments in validity-sensors-firmware
2020-08-07 12:58:01 +02:00
Arvid Norlander
4417e49612
New reformatting of code after rebase and changes. 2020-08-06 11:55:22 +02: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
75c6ddb5b3 * Roll back async changes for enroll & identify.
* Add a couple of tweaks to stop the sensor from crashing.
* A few more comments and TODOs
2020-07-16 23:13:46 +12: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
600202b4d6 Incrementally pair with the device. Try downloading the firmware from postinst. 2020-07-12 14:49:00 +12:00
Viktor Dragomiretskyy
23498ba122 Added debian packaging 2020-07-10 17:48:51 +12:00
Viktor Dragomiretskyy
6a24f89a51 Refactor package name 2020-07-09 16:28:38 +12:00
Renamed from proto9x/upload_fwext.py (Browse further)