Commit 522d4a1
fix(units): declare ~P as dspeed's unit format default
dspeed assumes short-form unit names (e.g. 'ns' rather than 'nanosecond')
in output attrs and elsewhere. Today this works because lgdo.units sets
formatter.default_format = "~P" on the application registry when lh5
imports it. Make the dependency explicit so dspeed does not silently
break if that transitive import side effect goes away or if a consumer
uses dspeed.units without triggering lh5.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent 89e01c1 commit 522d4a1
1 file changed
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments