summaryrefslogtreecommitdiffstats
path: root/glucometerutils/tests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use empty `__init__.py` files.HEADmainDiego Elio Pettenò2023-08-031-3/+0
| | | | This avoids SPDX tagging files that have no useful content.
* CSV: use the same number of fields foreach readingPierre-Louis Bonicoli2021-03-081-0/+31
| | | | | | | | | | | | | | | | | | | | | | | Use 5 fields with KetoneReading and TimeAdjustment too. With this patch: $ glucometer --driver fslibre dump --with-ketone "2021-03-06 16:05:00","","","time","2021-03-06 15:57:59" "2021-03-07 14:34:26","0.01","","blood sample","(Ketone)" "2021-03-07 14:34:49","140.00","","blood sample","(Blood)" "2021-03-07 14:48:46","131.00","","CGM","(Sensor)" "2021-03-07 15:00:18","121.00","","CGM","(Scan)" Without this patch, KetoneReadings and TimeAdjustments use only 4 fields: $ glucometer --driver fslibre dump --with-ketone "2021-03-06 16:05:00","","time","2021-03-06 15:57:59" "2021-03-07 14:34:26","0.01","blood sample","(Ketone)" "2021-03-07 14:34:49","140.00","","blood sample","(Blood)" "2021-03-07 14:48:46","131.00","","CGM","(Sensor)" "2021-03-07 15:00:18","121.00","","CGM","(Scan)"
* Use 0BSD instead of Unlicense for copyright disclaim.Diego Elio Pettenò2020-10-041-1/+1
|
* Update pre-commit plugins to the latest versions as of today.Diego Elio Pettenò2020-09-071-0/+1
|
* Add pre-commit configuration for REUSE.software.Diego Elio Pettenò2020-05-161-0/+3
| | | | | The only files that were lacking a license were the 0-sized __init__.py files — since those are not copyrighteable, make them Unlicense relesed.
* Add missing SPDX-FileCopyrightText throughout the project.Diego Elio Pettenò2020-03-271-0/+1
| | | | This is following the advice provided in https://matija.suklje.name/how-and-why-to-properly-write-copyright-statements-in-your-code
* The big typing cleanup.Diego Elio Pettenò2020-03-271-6/+32
| | | | | | | | Now that Python 3.7 is the minimum Python version, typing can be done inline, which makes it easier for mypy to know the files to check. Indeed, all the files are now typechecked, which uncovered a few minor bugs and mistakes here and there.
* Move tests to be organized within the source directory.Diego Elio Pettenò2020-03-162-0/+124
This should simplify maintaining the tests in the long run, and allows mypy to more thoroughly check for types.