diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8cfeb749..f65002c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -28,7 +28,7 @@ repos: - id: trailing-whitespace - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.6 + rev: v0.6.2 hooks: - id: ruff args: ["--fix", "--exit-non-zero-on-fix"] diff --git a/pyproject.toml b/pyproject.toml index 54f73e0f..fe872af5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -142,6 +142,8 @@ stubPath = "./stubs" [tool.ruff] line-length = 88 src = ["earthaccess", "stubs", "tests"] +# HACK: Don't lint or format Jupyter Notebooks for now. +extend-exclude = ["*.ipynb"] [tool.ruff.lint] extend-select = ["I", "T20", "D", "G"]