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
367df46166
Implements uunicorn/python-validity#26 : Verify hash of downloaded drivers.
2020-08-18 17:00:38 +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
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