Commit graph

155 commits

Author SHA1 Message Date
bronsen
ad9edf6e65 update dependencies
Some checks failed
ci/woodpecker/push/workflow/2 Pipeline failed
ci/woodpecker/push/workflow/1 Pipeline was successful
ci/woodpecker/push/workflow/3 Pipeline failed
2026-02-14 23:18:05 +01:00
bronsen
864d113a7a just: add new recipes: dealing with deps and pretending we are on CI 2026-02-14 23:17:36 +01:00
bronsen
d617f71682 ci: extend test matrix: now it's 3 python versions 2026-02-14 23:16:50 +01:00
bronsen
906dc732f2 ci: install newer version of uv 2026-02-14 23:16:27 +01:00
bronsen
c7757643c2 add database.db hoping it helps on CI
Some checks failed
Prek checks / prek (push) Failing after 6s
ci/woodpecker/push/workflow Pipeline was successful
2026-02-14 22:46:24 +01:00
bronsen
46b3dcd091 actions: install a python and let's hope the rest will work
Some checks failed
Prek checks / prek (push) Failing after 37s
ci/woodpecker/push/workflow Pipeline failed
2026-02-14 22:02:47 +01:00
bronsen
0c76ba39b8 actions: trying to find a python
Some checks failed
Prek checks / prek (push) Failing after 9s
ci/woodpecker/push/workflow Pipeline failed
2026-02-14 19:50:23 +01:00
bronsen
a608fdd6f5 just: make it easier to spot differences between to very similar lines 2026-02-14 19:40:59 +01:00
bronsen
a954f56c5a actions: provide full url to actions repo
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
Prek checks / prek (push) Failing after 1m43s
2026-02-14 19:40:03 +01:00
bronsen
db1af24047 actions: remove demo workflow again 2026-02-14 19:36:05 +01:00
bronsen
43f4e94d7c actions: atm we only have a docker runner, let's try it
Some checks failed
/ test (push) Successful in 2s
Prek checks / prek (push) Failing after 15s
ci/woodpecker/push/workflow Pipeline failed
2026-02-14 19:35:32 +01:00
bronsen
edff559bac forgejo: add another workflow, using a github action, maybe it works?
Some checks failed
Prek checks / prek (push) Waiting to run
/ test (push) Successful in 2s
ci/woodpecker/push/workflow Pipeline failed
2026-02-14 19:33:35 +01:00
bronsen
4a4d977b53 forgejo: play around with forgejo actions as opposed to woodpecker
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
/ test (push) Successful in 1m11s
2026-02-14 19:21:16 +01:00
bronsen
093250cc9e tests: new snapshot after we load data from the db 2026-02-14 18:56:48 +01:00
bronsen
de0cd8034a just: allow passing args to pytest 2026-02-14 18:56:30 +01:00
bronsen
d6bcb90431 main: don't add fake data during start up 2026-02-14 18:51:37 +01:00
bronsen
b068bd1e2a models: add docstring to constructor function 2026-02-14 18:49:24 +01:00
bronsen
814d5eade7 models: more logging 2026-02-14 18:49:05 +01:00
bronsen
0d80c686c7 models: load initial data from database 2026-02-14 18:48:46 +01:00
bronsen
61f259ecfc database: use a file-based DB again, so we can manipulate it from outside the program 2026-02-14 18:47:39 +01:00
bronsen
a34135ef6f syntax: when you await it must be async 2026-02-14 16:36:46 +01:00
bronsen
17a9593b32 datatable: colums should be a list of strings 2026-02-14 16:36:07 +01:00
bronsen
8da542a1f6 tooling: configure prek 2026-02-12 20:31:52 +01:00
bronsen
3c2828bae6 tooling: add linter and prek
markdownlint-cli2 to lint markdown files.

prek as replacement for pre-commit.
2026-02-12 20:31:21 +01:00
bronsen
cf192c7d02 [deps] update dependencies 2026-02-07 02:54:10 +01:00
bronsen
e45dcaa0fd [deps] add ipython to dev dependencies
so we have available in our virtual env
2026-02-07 02:53:11 +01:00
bronsen
a45576406e [codestyle] clean up imports 2026-02-07 02:52:31 +01:00
bronsen
6a4334263a [models] move data loader to models module 2026-02-07 02:52:13 +01:00
bronsen
d2b6e11fe4 [typing] remove various decorators that we only used to hep basedpyright
ty solves this so much better
2026-02-07 02:51:02 +01:00
bronsen
312e60fa1f [models] move typedefs into models module 2026-02-07 02:49:38 +01:00
bronsen
a7d0bee0e7 add hints for ty, remove hints for basedpyright 2026-02-07 02:48:27 +01:00
bronsen
6155b54083 [models] make helper function async 2026-02-07 02:47:36 +01:00
bronsen
f4caba78e8 [models] don't warn on empty description 2026-02-07 02:46:44 +01:00
bronsen
50db5b9192 move special imports into helper function 2026-02-07 02:46:01 +01:00
bronsen
e438015ba8 [codestyle] move class definition closer to usage 2026-02-07 02:44:59 +01:00
bronsen
ddbfec4e54 [test] Make the tests pass even when we use relative imports 2026-01-08 12:08:13 +01:00
bronsen
8c0eff5693 [tooling] shut up basedpyright in this one case 2026-01-08 12:07:51 +01:00
bronsen
3e1bae138a [logging] End sentence of error message with a period "." 2026-01-08 12:07:31 +01:00
bronsen
a49cfd0dc1 [codestyle] add TODO item 2026-01-08 12:06:32 +01:00
bronsen
f622a58214 [models] simplify model hierarchy by removing one intermediate layer 2026-01-08 12:06:12 +01:00
bronsen
4236f39515 [mise] allow mise to create venv with specific python version 2026-01-08 12:05:22 +01:00
bronsen
13121637cf [codestyle] remove commented-out line of code 2026-01-08 12:04:36 +01:00
bronsen
444839b8e6 have Textual handle log messages
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
2025-12-28 21:56:57 +01:00
bronsen
dbd622ed9d make it so that Textual can start the app 2025-12-28 21:56:21 +01:00
bronsen
173d23addf [project] extract tui code into own module, also extraxt (db) models into their own module
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
2025-12-26 18:53:14 +01:00
bronsen
d58ae7aad1 [project] extract low-level database functions into own module 2025-12-26 18:51:07 +01:00
bronsen
f37e920e00 [project] add "run" recipe to start the app with fewer keystrokes
Although history recall is a thing in all shells.
2025-12-26 18:36:40 +01:00
bronsen
f52ac0e69f [deps] add natsort so we can sort in a more natural way 2025-12-26 18:15:06 +01:00
bronsen
de9a8497d8 [deps] drop tortoise in favour of sqlmodel 2025-12-20 04:31:21 +01:00
bronsen
5a190fe590 avoid circular imports 2025-12-10 02:18:33 +01:00