You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Raise minimum Python to 3.10
Python 3.9 reached end-of-life in October 2025. This bumps the floor to
3.10 and extends CI coverage through 3.14 to match the currently
supported CPython versions.
* Apply ruff upgrades
* Leave off 3.14 for now
* Remove `target-version` from Ruff
Ruff will infer a missing target-version from the requires-python field
in a pyproject.toml
* Remove Ruff format config
Redundant with defaults.
"How does this work? The `hg.Viewconf` is a `pydantic.GenericModel` which is _generic_ over the track type. By default, only HiGlass's builtin track types are recognized, so `hg.Viewconf(**data)` will throw an error when a configuration contains an unknown track.\n",
121
119
"\n",
122
-
"By supplying a our plugin track as a type parameter explicity, `hg.Viewconf[Union[PileupTrack, hg.Track]]`, we extend the model to recognize the `PileupTrack` in our config.\n",
120
+
"By supplying a our plugin track as a type parameter explicity, `hg.Viewconf[PileupTrack | hg.Track]`, we extend the model to recognize the `PileupTrack` in our config.\n",
123
121
"\n",
124
122
"This can seem a bit verbose, but supplying the type parameter explicitly is only necessary when deserializing an unknown config, e.g.\n",
0 commit comments