diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 89cf29a..033dc6d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,7 +2,7 @@ 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 @@ -10,12 +10,12 @@ repos: - 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"] diff --git a/docs/HOSS_DAAC_Operator_Documentation.ipynb b/docs/HOSS_DAAC_Operator_Documentation.ipynb index c13ae67..532c86f 100644 --- a/docs/HOSS_DAAC_Operator_Documentation.ipynb +++ b/docs/HOSS_DAAC_Operator_Documentation.ipynb @@ -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" ] }, { diff --git a/docs/HOSS_User_Documentation.ipynb b/docs/HOSS_User_Documentation.ipynb index 589fdc9..6f61165 100644 --- a/docs/HOSS_User_Documentation.ipynb +++ b/docs/HOSS_User_Documentation.ipynb @@ -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", diff --git a/docs/requirements.txt b/docs/requirements.txt index dd7a29c..700910c 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -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