diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8d24416..3604009 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,12 +16,12 @@ repos: args: [--py39-plus] - repo: https://github.com/PyCQA/isort - rev: "5.13.2" + rev: "6.0.0" hooks: - id: isort - repo: https://github.com/psf/black - rev: "24.10.0" + rev: "25.1.0" hooks: - id: black diff --git a/uscrn/attrs.py b/uscrn/attrs.py index c2ce1ec..b834cd2 100644 --- a/uscrn/attrs.py +++ b/uscrn/attrs.py @@ -192,7 +192,7 @@ def _map_dtype(dtype: str) -> type | None: @lru_cache(len(WHICHS)) def get_col_info( - which: Literal["subhourly", "hourly", "daily", "monthly"] = "daily" + which: Literal["subhourly", "hourly", "daily", "monthly"] = "daily", ) -> _DsetVarInfo: """Column (variable) info (the individual data files don't have headers), intended for use in ``read_csv``. @@ -276,7 +276,7 @@ def get_col_info( def _get_docs( - which: Literal["subhourly", "hourly", "daily", "monthly"] = "daily" + which: Literal["subhourly", "hourly", "daily", "monthly"] = "daily", ) -> tuple[str, str]: """Get the header and readme docs as strings.