Skip to content

Commit

Permalink
Merge pull request #3148 from catalyst-cooperative/pre-commit-ci-upda…
Browse files Browse the repository at this point in the history
…te-config

[pre-commit.ci] pre-commit autoupdate

Rejected the update to alpha version of prettier.
  • Loading branch information
zaneselvans authored Dec 11, 2023
2 parents e4cc807 + cf09bda commit 4babaaf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ repos:
# Formatters: hooks that re-write Python & documentation files
####################################################################################
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.6
rev: v0.1.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
2 changes: 1 addition & 1 deletion src/pudl/etl/static_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


def _read_static_encoding_tables(
etl_group: Literal["static_eia", "static_ferc1"]
etl_group: Literal["static_eia", "static_ferc1"],
) -> dict[str, pd.DataFrame]:
"""Build dataframes of static tables from a data source for use as foreign keys.
Expand Down
2 changes: 1 addition & 1 deletion src/pudl/metadata/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _parse_foreign_key_rule(rule: dict, name: str, key: list[str]) -> list[dict]


def _build_foreign_key_tree(
resources: dict[str, dict]
resources: dict[str, dict],
) -> dict[str, dict[tuple[str, ...], dict]]:
"""Build foreign key tree.
Expand Down
4 changes: 2 additions & 2 deletions src/pudl/transform/ferc1.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

@asset
def clean_xbrl_metadata_json(
raw_xbrl_metadata_json: dict[str, dict[str, list[dict[str, Any]]]]
raw_xbrl_metadata_json: dict[str, dict[str, list[dict[str, Any]]]],
) -> dict[str, dict[str, list[dict[str, Any]]]]:
"""Generate cleaned json xbrl metadata.
Expand All @@ -58,7 +58,7 @@ def clean_xbrl_metadata_json(


def add_source_tables_to_xbrl_metadata(
raw_xbrl_metadata_json: dict[str, dict[str, list[dict[str, Any]]]]
raw_xbrl_metadata_json: dict[str, dict[str, list[dict[str, Any]]]],
) -> dict[str, dict[str, list[dict[str, Any]]]]:
"""Add a ``source_tables`` field into metadata calculation components.
Expand Down

0 comments on commit 4babaaf

Please sign in to comment.