Commit Graph

25 Commits (e49d6262e903ea2e2b2b229dcb85fd1cd23b2159)

Author SHA1 Message Date
awsr ff247d8fd2
Merge branch 'dev' into RUF013 2026-03-24 07:12:51 -07:00
awsr fb853af4b0
RUF013 updates 2026-03-24 04:58:19 -07:00
vladmandic afe3786f5f add unet/dir to networks
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-22 11:09:45 +01:00
vladmandic 4e1c1a6844 add secrets manager
Signed-off-by: vladmandic <mandic00@live.com>
2026-03-17 13:56:55 +01:00
Vladimir Mandic a3074baf8b unified logger 2026-02-19 09:46:42 +01:00
Vladimir Mandic bfe014f5da modernize typing 2026-02-19 09:15:37 +01:00
awsr 6335130ca5
Rewrite to satisfy type checker 2026-01-13 16:44:54 -08:00
awsr b2798b15db
Improved Options init 2026-01-13 16:08:58 -08:00
awsr 1dffdc17a9
Revert classvar removal. Simplify and update 2026-01-13 14:30:34 -08:00
awsr 3654d0fa18
Update typing, remove incorrect typing 2026-01-13 04:09:58 -08:00
awsr 08c871e8d1
Remove unused class vars 2026-01-13 04:08:48 -08:00
awsr ec86e52ded
Correct type enforcement 2026-01-13 02:11:58 -08:00
awsr 2394a7fac1
Ignore false positives with static typing 2026-01-13 02:10:38 -08:00
awsr 418134b820
Update default filename handling 2026-01-10 14:53:07 -08:00
awsr 0faabffc14
Simplify options init/save/load 2026-01-10 13:27:38 -08:00
awsr 1a5f7ef642
Update OptionInfo import 2025-12-20 00:34:09 -08:00
awsr f20591ce5e
Use updated Callable import
Importing from `typing` is considered deprecated since it's literally just internally calling from `collections.abc`
2025-12-18 23:27:53 -08:00
awsr eeca45c7b2
Update type annotations 2025-12-18 18:09:32 -08:00
awsr 05f767cf5f
Keep option type definitions together...
and update type annotations.
- Since there's no literal for sets, and because functions usually shouldn't be used as parameter defaults, use None as default and then use `set()` as default during init.
2025-12-18 18:08:54 -08:00
awsr dcb7164d30
Update `readfile` type safety 2025-12-17 16:43:54 -08:00
awsr c22ca8d76e
Create and opt in to dict type safety from JSON
Opt in via the keyword-only argument `dict_only`
2025-12-17 13:18:13 -08:00
Vladimir Mandic aa42dd9cca fix cwd on git version check fail
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-11-03 16:23:41 -05:00
Vladimir Mandic 72a9094b42 better model version detect and experimental pydantic v2
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-09-04 12:41:40 -04:00
Vladimir Mandic a91ee36b5c fix settings components mismatch
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-08-06 18:35:43 -04:00
Vladimir Mandic 4e449ca9b2 refactor monolithic shared.py and separate legacy options with logging
Signed-off-by: Vladimir Mandic <mandic00@live.com>
2025-07-12 13:35:41 -04:00