Skip to content

Commit

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

updates:
- [github.com/pre-commit/pre-commit-hooks: v4.6.0 → v5.0.0](pre-commit/pre-commit-hooks@v4.6.0...v5.0.0)
- [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.7.1](astral-sh/ruff-pre-commit@v0.4.9...v0.7.1)
- [github.com/psf/black-pre-commit-mirror: 24.4.2 → 24.10.0](psf/black-pre-commit-mirror@24.4.2...24.10.0)

* [pre-commit.ci] Apply import ordering to Jupyter notebooks.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Owen Littlejohns <[email protected]>
  • Loading branch information
pre-commit-ci[bot] and owenlittlejohns authored Nov 1, 2024
1 parent 065415e commit bb2ee17
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,20 @@ ci:
autofix_prs: false
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.6.0
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-json
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.4.9
rev: v0.7.1
hooks:
- id: ruff
args: ["--fix", "--show-fixes", "--select", "I"]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.4.2
rev: 24.10.0
hooks:
- id: black-jupyter
args: ["--skip-string-normalization"]
Expand Down
4 changes: 2 additions & 2 deletions docs/HOSS_DAAC_Operator_Documentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@
"from datetime import datetime\n",
"from os import replace\n",
"\n",
"from harmony import BBox, Client, Collection, Environment, Request\n",
"import xarray as xr"
"import xarray as xr\n",
"from harmony import BBox, Client, Collection, Environment, Request"
]
},
{
Expand Down
1 change: 0 additions & 1 deletion docs/HOSS_User_Documentation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
"source": [
"from harmony import BBox, Client, Collection, Environment, Request\n",
"\n",
"\n",
"harmony_client = Client(env=Environment.UAT)\n",
"\n",
"demo_directory = '.'\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
#
harmony-py~=0.4.10
netCDF4~=1.6.4
notebook~=7.0.4
notebook~=7.2.2
xarray~=2023.9.0

0 comments on commit bb2ee17

Please sign in to comment.