Skip to content

feat: add Python type hinting and annotations #78

feat: add Python type hinting and annotations

feat: add Python type hinting and annotations #78

Triggered via push December 25, 2024 10:04
Status Success
Total duration 31s
Artifacts

ci.yaml

on: push
Run black and pylint tools
21s
Run black and pylint tools
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 warning
/home/runner/work/HadCRUT5/HadCRUT5/hadcrut5lib.py#L263
@Property def dataset_period(self) -> str: """Return the dataset period as a string""" return self._period - def dataset_years(self) -> List[int|float]: + def dataset_years(self) -> List[int | float]: """ Return an array of years corresponding of the loaded datasets. If the original dataset packages monthly data, the returning vector will contain float values (year plus a decimal part for the month). """
Run black and pylint tools
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636