Skip to content

Commit

Permalink
[pre-commit.ci] pre-commit autoupdate (#47)
Browse files Browse the repository at this point in the history
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/PyCQA/isort: 5.13.2 → 6.0.0](PyCQA/isort@5.13.2...6.0.0)
- [github.com/psf/black: 24.10.0 → 25.1.0](psf/black@24.10.0...25.1.0)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
pre-commit-ci[bot] authored Feb 3, 2025
1 parent 0ec3525 commit d5e5175
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions uscrn/attrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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``.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit d5e5175

Please sign in to comment.