Commit graph

234 commits

Author SHA1 Message Date
8394b1fdbd
rename functions, let write_measurement decide which file type is given
Some checks failed
Pytest / pytest (3.12) (push) Waiting to run
Pytest / pytest (3.13) (push) Waiting to run
Pytest / pytest (3.14) (push) Waiting to run
Ruff / ruff (push) Waiting to run
Mypy / mypy (push) Has been cancelled
Mypy / mypy (pull_request) Waiting to run
Pytest / pytest (3.12) (pull_request) Waiting to run
Pytest / pytest (3.13) (pull_request) Waiting to run
Pytest / pytest (3.14) (pull_request) Waiting to run
Ruff / ruff (pull_request) Waiting to run
2026-04-09 11:23:28 +02:00
9498c1dd73
correct function names
Some checks failed
Mypy / mypy (push) Successful in 1m12s
Mypy / mypy (pull_request) Waiting to run
Pytest / pytest (3.12) (pull_request) Waiting to run
Pytest / pytest (3.13) (pull_request) Waiting to run
Pytest / pytest (3.14) (pull_request) Waiting to run
Ruff / ruff (pull_request) Waiting to run
Pytest / pytest (3.12) (push) Successful in 1m17s
Pytest / pytest (3.13) (push) Successful in 1m10s
Pytest / pytest (3.14) (push) Successful in 1m12s
Ruff / ruff (push) Failing after 1m0s
2026-04-09 11:11:48 +02:00
e654d7c1bb
restruct: introduce a file for flags 2026-04-09 11:10:54 +02:00
71332264cf
restruct: give each openQCD prog it's own file 2026-04-09 10:47:19 +02:00
5ea8326757
add thin wrapper to accomodate for input conventions, add comments
All checks were successful
Mypy / mypy (push) Successful in 1m14s
Pytest / pytest (3.12) (push) Successful in 1m18s
Pytest / pytest (3.13) (push) Successful in 1m10s
Pytest / pytest (3.14) (push) Successful in 1m12s
Ruff / ruff (push) Successful in 1m0s
2026-04-09 10:26:47 +02:00
5c37c06b13
add an implementation to read the first ~200 bytes of the par file of openQCD's qcd2 2026-04-09 09:54:39 +02:00
f98521b5a1
HOTFIX: strings for pyerrors 3
All checks were successful
Mypy / mypy (push) Successful in 1m13s
Pytest / pytest (3.12) (push) Successful in 1m15s
Pytest / pytest (3.13) (push) Successful in 1m16s
Pytest / pytest (3.14) (push) Successful in 1m15s
Ruff / ruff (push) Successful in 1m0s
2026-03-27 11:56:40 +01:00
38b4983fed
HOTFIX: hand over path as str 2
All checks were successful
Mypy / mypy (push) Successful in 1m14s
Pytest / pytest (3.13) (push) Successful in 1m13s
Pytest / pytest (3.14) (push) Successful in 1m19s
Pytest / pytest (3.12) (push) Successful in 1m18s
Ruff / ruff (push) Successful in 1m3s
2026-03-24 18:50:30 +01:00
b8121811f9
HOTFIX: hand over path as str
Some checks are pending
Mypy / mypy (push) Waiting to run
Pytest / pytest (3.12) (push) Waiting to run
Pytest / pytest (3.13) (push) Waiting to run
Pytest / pytest (3.14) (push) Waiting to run
Ruff / ruff (push) Waiting to run
2026-03-24 18:49:04 +01:00
2fd46d452b
hotfix ensure that path is a Path
All checks were successful
Mypy / mypy (push) Successful in 1m13s
Pytest / pytest (3.12) (push) Successful in 1m19s
Pytest / pytest (3.13) (push) Successful in 1m14s
Pytest / pytest (3.14) (push) Successful in 1m18s
Ruff / ruff (push) Successful in 1m3s
2026-03-24 18:40:46 +01:00
8a8480af32
fix alias db
All checks were successful
Mypy / mypy (push) Successful in 1m14s
Pytest / pytest (3.14) (push) Successful in 1m31s
Ruff / ruff (push) Successful in 1m11s
Pytest / pytest (3.12) (push) Successful in 1m20s
Pytest / pytest (3.13) (push) Successful in 1m30s
2026-03-23 18:26:40 +01:00
a57138dc50
add test for project alias lookup 2026-03-23 18:26:17 +01:00
2396a657b2
rename init_tests 2026-03-23 17:50:38 +01:00
99ec6afdfc Merge pull request 'tests/tools' (#22) from tests/tools into develop
All checks were successful
Mypy / mypy (push) Successful in 1m14s
Pytest / pytest (3.12) (push) Successful in 1m17s
Pytest / pytest (3.13) (push) Successful in 1m11s
Ruff / ruff (push) Successful in 1m4s
Pytest / pytest (3.14) (push) Successful in 1m18s
Reviewed-on: https://www.kuhl-mann.de/git/git/jkuhl/corrlib/pulls/22
2026-03-23 16:26:07 +01:00
480c04e069
lint
All checks were successful
Mypy / mypy (push) Successful in 1m12s
Pytest / pytest (3.12) (push) Successful in 1m15s
Pytest / pytest (3.13) (push) Successful in 1m12s
Pytest / pytest (3.14) (push) Successful in 1m15s
Ruff / ruff (push) Successful in 1m2s
Mypy / mypy (pull_request) Successful in 1m11s
Pytest / pytest (3.12) (pull_request) Successful in 1m16s
Pytest / pytest (3.13) (pull_request) Successful in 1m14s
Pytest / pytest (3.14) (pull_request) Successful in 1m15s
Ruff / ruff (pull_request) Successful in 1m2s
2026-03-23 16:18:32 +01:00
8162758cec
use pathlib.Path for directories and files
Some checks failed
Ruff / ruff (push) Waiting to run
Pytest / pytest (3.12) (push) Successful in 1m15s
Pytest / pytest (3.13) (push) Has been cancelled
Mypy / mypy (push) Successful in 1m13s
Pytest / pytest (3.14) (push) Has been cancelled
2026-03-23 16:15:55 +01:00
110ddaf3a1
add error messages
Some checks failed
Mypy / mypy (push) Failing after 1m10s
Pytest / pytest (3.12) (push) Successful in 1m17s
Pytest / pytest (3.13) (push) Successful in 1m12s
Pytest / pytest (3.14) (push) Successful in 1m13s
Ruff / ruff (push) Successful in 1m1s
2026-03-23 15:21:34 +01:00
97e30fa27d
use Path in type annotations oat 2 2026-03-23 13:06:12 +01:00
92f307b83a
use Path in type annotations 2026-03-23 13:05:33 +01:00
6bb48f151c
add types 2026-03-23 13:01:58 +01:00
7e76966d5f
replace config file name with var 2026-03-23 12:59:59 +01:00
776e4a3d8d
add further tests for tools 2026-03-23 12:59:33 +01:00
158fb1d08b Merge pull request 'fix/uv-setup' (#21) from fix/uv-setup into develop
All checks were successful
Mypy / mypy (push) Successful in 1m18s
Pytest / pytest (3.12) (push) Successful in 1m19s
Pytest / pytest (3.13) (push) Successful in 1m17s
Pytest / pytest (3.14) (push) Successful in 1m17s
Ruff / ruff (push) Successful in 1m0s
Reviewed-on: https://www.kuhl-mann.de/git/git/jkuhl/corrlib/pulls/21
2026-03-23 12:40:22 +01:00
b65ee83698 fix list test
All checks were successful
Mypy / mypy (push) Successful in 1m14s
Pytest / pytest (3.12) (push) Successful in 1m16s
Pytest / pytest (3.13) (push) Successful in 1m14s
Pytest / pytest (3.14) (push) Successful in 1m17s
Ruff / ruff (push) Successful in 1m1s
Mypy / mypy (pull_request) Successful in 1m10s
Pytest / pytest (3.12) (pull_request) Successful in 1m17s
Pytest / pytest (3.13) (pull_request) Successful in 1m15s
Pytest / pytest (3.14) (pull_request) Successful in 1m14s
Ruff / ruff (pull_request) Successful in 1m1s
2026-03-20 23:37:40 +01:00
a5d6b978ea
remove pip cache
Some checks failed
Mypy / mypy (push) Failing after 39s
Pytest / pytest (3.12) (push) Failing after 40s
Pytest / pytest (3.13) (push) Failing after 39s
Pytest / pytest (3.14) (push) Failing after 42s
Ruff / ruff (push) Failing after 39s
Mypy / mypy (pull_request) Failing after 39s
Pytest / pytest (3.13) (pull_request) Failing after 39s
Pytest / pytest (3.14) (pull_request) Failing after 42s
Pytest / pytest (3.12) (pull_request) Failing after 1m14s
Ruff / ruff (pull_request) Failing after 39s
2026-03-20 17:25:44 +01:00
c2296f00ee
remove uv cache
Some checks failed
Pytest / pytest (3.13) (pull_request) Failing after 42s
Pytest / pytest (3.14) (pull_request) Failing after 41s
Ruff / ruff (pull_request) Successful in 1m2s
Mypy / mypy (pull_request) Successful in 1m12s
Mypy / mypy (push) Failing after 39s
Pytest / pytest (3.12) (push) Failing after 39s
Pytest / pytest (3.13) (push) Failing after 39s
Pytest / pytest (3.14) (push) Failing after 43s
Ruff / ruff (push) Failing after 40s
Pytest / pytest (3.12) (pull_request) Failing after 39s
2026-03-20 16:47:36 +01:00
94b677262a
remove cache envs
Some checks failed
Mypy / mypy (push) Failing after 34s
Pytest / pytest (3.13) (push) Failing after 36s
Ruff / ruff (push) Waiting to run
Mypy / mypy (pull_request) Waiting to run
Pytest / pytest (3.12) (pull_request) Waiting to run
Pytest / pytest (3.13) (pull_request) Waiting to run
Pytest / pytest (3.14) (pull_request) Waiting to run
Ruff / ruff (pull_request) Waiting to run
Pytest / pytest (3.12) (push) Failing after 34s
Pytest / pytest (3.14) (push) Has been cancelled
2026-03-20 16:45:01 +01:00
6cfa51f878
setup local cache
Some checks failed
Mypy / mypy (pull_request) Waiting to run
Pytest / pytest (3.12) (pull_request) Waiting to run
Pytest / pytest (3.13) (pull_request) Waiting to run
Pytest / pytest (3.14) (pull_request) Waiting to run
Ruff / ruff (pull_request) Waiting to run
Mypy / mypy (push) Failing after 34s
Pytest / pytest (3.12) (push) Failing after 34s
Pytest / pytest (3.13) (push) Failing after 19s
Pytest / pytest (3.14) (push) Failing after 36s
Ruff / ruff (push) Has been cancelled
2026-03-20 16:42:55 +01:00
c6f3603fbf
Throw errors when parmeter file is not set
Some checks failed
Pytest / pytest (3.14) (push) Failing after 41s
Mypy / mypy (push) Successful in 1m15s
Pytest / pytest (3.13) (push) Failing after 41s
Mypy / mypy (pull_request) Failing after 39s
Pytest / pytest (3.12) (pull_request) Failing after 39s
Pytest / pytest (3.13) (pull_request) Failing after 40s
Pytest / pytest (3.14) (pull_request) Failing after 43s
Ruff / ruff (pull_request) Failing after 39s
Ruff / ruff (push) Successful in 1m3s
Pytest / pytest (3.12) (push) Failing after 1m18s
2026-03-20 16:12:57 +01:00
bd581c6c12
set up git
Some checks failed
Ruff / ruff (push) Waiting to run
Pytest / pytest (3.12) (push) Failing after 1m16s
Pytest / pytest (3.13) (push) Failing after 1m13s
Mypy / mypy (push) Failing after 1m11s
Pytest / pytest (3.14) (push) Has been cancelled
2026-03-20 16:07:57 +01:00
d302ae7e0d
fix typo in type annotations
Some checks failed
Pytest / pytest (3.12) (push) Failing after 1m18s
Ruff / ruff (push) Has been cancelled
Mypy / mypy (push) Failing after 1m12s
Pytest / pytest (3.13) (push) Failing after 1m13s
Pytest / pytest (3.14) (push) Failing after 1m16s
2026-03-20 16:01:59 +01:00
7ce9742ed5
fix invalid escape in docs
Some checks failed
Ruff / ruff (push) Waiting to run
Mypy / mypy (push) Failing after 1m11s
Pytest / pytest (3.12) (push) Has been cancelled
Pytest / pytest (3.14) (push) Has been cancelled
Pytest / pytest (3.13) (push) Has been cancelled
2026-03-20 15:59:45 +01:00
4853c0e414
fix type error for now 2026-03-20 15:58:33 +01:00
0c01d18ecb
use python 3.12 for mypy and ruff 2026-03-20 15:56:31 +01:00
f05caf572d
roll out changes
Some checks failed
Mypy / mypy (push) Failing after 1m9s
Pytest / pytest (3.12) (push) Failing after 1m18s
Pytest / pytest (3.13) (push) Failing after 1m13s
Pytest / pytest (3.14) (push) Failing after 1m17s
Ruff / ruff (push) Failing after 40s
2026-03-20 15:52:57 +01:00
4a821006ed
add setup python
Some checks failed
Ruff / ruff (push) Waiting to run
Mypy / mypy (push) Failing after 16s
Pytest / pytest (3.12) (push) Failing after 1m35s
Pytest / pytest (3.13) (push) Failing after 1m13s
Pytest / pytest (3.14) (push) Has been cancelled
2026-03-20 15:49:35 +01:00
53067f7c47
use v5
Some checks failed
Ruff / ruff (push) Waiting to run
Pytest / pytest (3.12) (push) Failing after 55s
Pytest / pytest (3.14) (push) Has been cancelled
Pytest / pytest (3.13) (push) Failing after 52s
Mypy / mypy (push) Failing after 16s
2026-03-20 15:47:02 +01:00
67a9e4ea4b
use 6.4.0
Some checks failed
Mypy / mypy (push) Failing after 15s
Pytest / pytest (3.13) (push) Failing after 18s
Ruff / ruff (push) Failing after 15s
Pytest / pytest (3.12) (push) Failing after 19s
Pytest / pytest (3.14) (push) Failing after 19s
2026-03-20 15:31:03 +01:00
ca2eb081bb
older version again
Some checks failed
Mypy / mypy (push) Failing after 16s
Pytest / pytest (3.12) (push) Failing after 16s
Pytest / pytest (3.13) (push) Failing after 15s
Pytest / pytest (3.14) (push) Failing after 15s
Ruff / ruff (push) Failing after 14s
2026-03-20 15:29:34 +01:00
0e0153bd1d
update uv setup after runner upate
Some checks failed
Mypy / mypy (push) Failing after 19s
Pytest / pytest (3.12) (push) Failing after 15s
Pytest / pytest (3.13) (push) Failing after 16s
Pytest / pytest (3.14) (push) Failing after 14s
Ruff / ruff (push) Failing after 15s
2026-03-20 15:23:49 +01:00
54b42040a9
use v6 of astral action
Some checks failed
Mypy / mypy (push) Failing after 16s
Ruff / ruff (push) Failing after 2s
Pytest / pytest (3.12) (push) Failing after 18s
Pytest / pytest (3.13) (push) Failing after 14s
Pytest / pytest (3.14) (push) Failing after 15s
2026-03-20 15:07:54 +01:00
52f6b0f53c
silence readers
Some checks failed
Pytest / pytest (3.13) (push) Failing after 2s
Ruff / ruff (push) Failing after 2s
Mypy / mypy (push) Failing after 17s
Pytest / pytest (3.12) (push) Failing after 2s
Pytest / pytest (3.14) (push) Failing after 2s
2026-03-20 13:00:30 +01:00
96731baeb9
fix when files are unlocked or saved 2026-03-20 12:59:04 +01:00
a9cc2b3f48
fix write measurement call and reporting to user 2026-03-20 12:57:48 +01:00
6b2db911bf
add list for stat types
Some checks failed
Mypy / mypy (push) Failing after 19s
Pytest / pytest (3.12) (push) Failing after 5s
Pytest / pytest (3.13) (push) Failing after 2s
Pytest / pytest (3.14) (push) Failing after 3s
Ruff / ruff (push) Failing after 2s
2026-03-20 12:56:27 +01:00
b51a69bc69
fix file unlock
Some checks failed
Mypy / mypy (push) Failing after 45s
Pytest / pytest (3.12) (push) Failing after 2s
Pytest / pytest (3.13) (push) Failing after 2s
Pytest / pytest (3.14) (push) Failing after 2s
Ruff / ruff (push) Failing after 2s
2026-03-06 15:35:49 +01:00
b2ac8939a3
fix: cli show stat failed for single values 2026-02-27 11:20:28 +01:00
373f3476c0
explicit install-uv version
Some checks failed
Mypy / mypy (push) Failing after 28s
Pytest / pytest (3.12) (push) Failing after 20s
Pytest / pytest (3.13) (push) Failing after 2s
Pytest / pytest (3.14) (push) Failing after 1s
Ruff / ruff (push) Failing after 1s
2026-02-24 09:18:51 +01:00
540160c51f
use older setup-uv action
Some checks failed
Pytest / pytest (3.12) (push) Failing after 21s
Mypy / mypy (push) Failing after 43s
Pytest / pytest (3.14) (push) Failing after 2s
Ruff / ruff (push) Failing after 2s
Pytest / pytest (3.13) (push) Failing after 19s
2026-02-24 09:14:12 +01:00
875d7b9461
write explicit setup-uv link
Some checks failed
Pytest / pytest (3.12) (push) Failing after 2s
Pytest / pytest (3.13) (push) Failing after 2s
Pytest / pytest (3.14) (push) Failing after 2s
Ruff / ruff (push) Failing after 2s
Mypy / mypy (push) Failing after 3s
2026-02-23 09:45:00 +01:00