Commit graph

193 commits

Author SHA1 Message Date
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
bronsen
58764b1e92 [ci] install uv into venv, have uv handle the rest
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
maybe this will work
2025-12-10 00:07:49 +01:00
bronsen
b71844ae5f [project] determine version by hand (in pyproject.toml) 2025-12-10 00:07:06 +01:00
bronsen
de9342cdb0 [ci] reduce matrix size until we figure out how to run tests 2025-12-09 23:51:11 +01:00
bronsen
dd98759a04 [ci] can we get uv involved this way?
Some checks failed
ci/woodpecker/push/workflow/2 Pipeline failed
ci/woodpecker/push/workflow/1 Pipeline failed
2025-12-09 23:50:27 +01:00
bronsen
625dccf9b2 [ci] remove comment 2025-12-09 23:46:14 +01:00
bronsen
e50f243cbf [ci] and now we are back to before when we had -e . in requirements.txt
Some checks failed
ci/woodpecker/push/workflow/2 Pipeline failed
ci/woodpecker/push/workflow/1 Pipeline failed
2025-12-09 23:45:17 +01:00
bronsen
4d85dc4254 [ci] quieten down pip install; install project into venv
Some checks failed
ci/woodpecker/push/workflow/2 Pipeline failed
ci/woodpecker/push/workflow/1 Pipeline failed
2025-12-09 23:43:23 +01:00
bronsen
ccece213a3 [deps] this seems a better to export dependencies
Some checks failed
ci/woodpecker/push/workflow/2 Pipeline failed
ci/woodpecker/push/workflow/1 Pipeline failed
2025-12-09 23:39:01 +01:00
bronsen
5609470af2 [ci] perhaps /bin/sh prefers . over source
Some checks failed
ci/woodpecker/push/workflow/2 Pipeline failed
ci/woodpecker/push/workflow/1 Pipeline failed
2025-12-09 23:31:40 +01:00
bronsen
d440e0417b [deps] exclude editable installs from exported requirements
Some checks failed
ci/woodpecker/push/workflow/2 Pipeline failed
ci/woodpecker/push/workflow/1 Pipeline failed
2025-12-09 23:30:37 +01:00
bronsen
8a160c1c82 [ci] tro to execute pytest in a venv 2025-12-09 23:29:54 +01:00
bronsen
7eeb4799db [deps] update dependencies
All checks were successful
ci/woodpecker/push/workflow/2 Pipeline was successful
ci/woodpecker/push/workflow/1 Pipeline was successful
2025-12-09 21:37:42 +01:00