Commit Graph

11 Commits

Author SHA1 Message Date
Marty Oehme 7134dc65d8
Add version extraction to parser 2021-12-25 10:27:38 +01:00
Marty Oehme bb4b85851e
Begin nomie parser creation 2021-12-25 10:02:15 +01:00
Marty Oehme 5d8bde959e
Add tested Parser Interface 2021-12-16 13:11:49 +01:00
Marty Oehme 70c626b748
Rename NomieImport to ImportData 2021-12-16 13:09:52 +01:00
Marty Oehme 2bbb594d62
Add informal Parser interface
Added first informal parser interface, only requiring a method to parse
events and one to parse trackers.

Theoretically we only *require* a method to parse events since, through
their contained activities, they would also come with trackers.
But this would 1) be much more opaque and a lot of work to then extract
the trackers again and 2) leave out trackers which do not yet have any
activities associated with them (i.e. trackers never once accomplished).

We can still turn the informal parser into a formal interface if need
arises: https://realpython.com/python-interface/
2021-12-15 23:12:03 +01:00
Marty Oehme 031145db01
Make program downward compatible until python 3.7
Add multi-version tests with nox to keep regressions from happening.
2021-12-15 22:34:30 +01:00
Marty Oehme b9c89155e3
Fix import of nomie numerical score values 2021-12-07 15:30:19 +01:00
Marty Oehme aa2aff4e17
Fix import of nomie goal value 2021-12-07 15:30:19 +01:00
Marty Oehme 09cbab9021
Add code coverage gathering 2021-12-07 15:30:09 +01:00
Marty Oehme 2d2b4430ff
Add initial cli test 2021-12-06 23:20:18 +01:00
Marty Oehme 97035d8e4c
Switch layout to src folder layout 2021-12-06 22:45:18 +01:00