diff options
| author | prabinpanta0 <pantaprabin30@gmail.com> | 2025-10-26 19:42:36 +0545 |
|---|---|---|
| committer | prabinpanta0 <pantaprabin30@gmail.com> | 2025-10-26 19:42:36 +0545 |
| commit | 30839413484f72343d66035bbd77af700059d0a3 (patch) | |
| tree | 5e6397879b89f5177f3266b7c244cd00ebc3bcc3 /config/hypr/UserScripts/Weather.sh | |
| parent | 7a147c0da9fb515cdb751014b737a33701063a74 (diff) | |
config(hypr): improve numeric coercion and add ensure_* warnings
- Parse numeric strings more robustly in coerce_number: convert to float then
return int when the float has no fractional part (handles scientific notation
and avoids brittle '.'/'e' checks).
- Add diagnostic warnings to ensure_dict and ensure_list that print the
unexpected type and a truncated repr to stderr to help detect API shape
mismatches.
Diffstat (limited to 'config/hypr/UserScripts/Weather.sh')
0 files changed, 0 insertions, 0 deletions
