Skip to content

Commit

Permalink
Merge pull request #129 from ioos/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
ocefpaf authored Oct 8, 2024
2 parents 6f8d5c8 + 65fb56b commit 6406faf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: check-ast
Expand Down Expand Up @@ -50,7 +50,7 @@ repos:
- id: add-trailing-comma

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.6.3
rev: v0.6.9
hooks:
- id: ruff
args: ["--fix", "--show-fixes"]
Expand All @@ -73,7 +73,7 @@ repos:
- id: nb-strip-paths

- repo: https://github.com/tox-dev/pyproject-fmt
rev: 2.2.1
rev: 2.2.4
hooks:
- id: pyproject-fmt

Expand Down
2 changes: 1 addition & 1 deletion gliderpy/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def plot_transect(
:param var: variable to colour the scatter plot
:return: figure, axes
"""
cmap = kw.get("cmap", None)
cmap = kw.get("cmap")

fignums = plt.get_fignums()
if ax is None and not fignums:
Expand Down

0 comments on commit 6406faf

Please sign in to comment.