Skip to content

Commit ff3bae4

Browse files
Merge pull request #67 from nsidc/pre-commit-ci-update-config
chore: update pre-commit hooks
2 parents 967fd2d + 58ab850 commit ff3bae4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ repos:
3434
args: [--prose-wrap=always]
3535

3636
- repo: https://github.com/astral-sh/ruff-pre-commit
37-
rev: "v0.11.9"
37+
rev: "v0.11.12"
3838
hooks:
3939
- id: ruff
4040
args: ["--fix", "--show-fixes"]

src/nsidc/iceflow/data/ilvis2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def _add_utc_datetime(df: pd.DataFrame, file_date) -> pd.DataFrame:
127127
return df
128128

129129

130-
def _scale_and_convert(df: pd.DataFrame, fields):
130+
def _scale_and_convert(df: pd.DataFrame, fields) -> pd.DataFrame:
131131
"""For any column in the list of Field named tuples, optionally scale
132132
the corresponding column in the DataFrame and convert the column
133133
type.

0 commit comments

Comments
 (0)