Skip to content

Commit 027ad5d

Browse files
authored
Merge branch 'main' into rajeeja/from_file_notebook
2 parents 48969a7 + 7c104fa commit 027ad5d

File tree

4 files changed

+8
-10
lines changed

4 files changed

+8
-10
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ repos:
1414

1515
- repo: https://github.com/astral-sh/ruff-pre-commit
1616
# Ruff version.
17-
rev: v0.8.6
17+
rev: v0.9.1
1818
hooks:
1919
# Run the linter.
2020
- id: ruff

docs/conf.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -231,12 +231,12 @@ def update_gallery(app: Sphinx):
231231
f"""
232232
.. grid-item-card::
233233
:text-align: center
234-
:link: {item['path']}
234+
:link: {item["path"]}
235235
236-
.. image:: {item['thumbnail']}
237-
:alt: {item['title']}
236+
.. image:: {item["thumbnail"]}
237+
:alt: {item["title"]}
238238
+++
239-
{item['title']}
239+
{item["title"]}
240240
"""
241241
for item in gallery[key]
242242
]

uxarray/conventions/descriptors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
EDGE_FACE_DISTANCES_DIMS = ["n_edge"]
2121
EDGE_FACE_DISTANCES_ATTRS = {
2222
"cf_role": "edge_face_distances",
23-
"long_name": "Distances between the face centers that " "saddle each edge",
23+
"long_name": "Distances between the face centers that saddle each edge",
2424
}
2525

2626
EDGE_NODE_DISTANCES_DIMS = ["n_edge"]
2727
EDGE_NODE_DISTANCES_ATTRS = {
2828
"cf_role": "edge_node_distances",
29-
"long_name": "Distances between the nodes that make up " "each edge.",
29+
"long_name": "Distances between the nodes that make up each edge.",
3030
}
3131

3232
HOLE_EDGE_INDICES_DIMS = ["n_edge"]

uxarray/grid/connectivity.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,9 +112,7 @@ def _replace_fill_values(grid_var, original_fill, new_fill, new_dtype=None):
112112
f" float dtype: {grid_var.dtype}"
113113
)
114114
else:
115-
raise ValueError(
116-
f"Data type {grid_var.dtype} not supported" f"for grid variables"
117-
)
115+
raise ValueError(f"Data type {grid_var.dtype} not supportedfor grid variables")
118116

119117
# replace all zeros with a fill value
120118
grid_var[fill_val_idx] = new_fill

0 commit comments

Comments
 (0)