Skip to content

Commit

Permalink
Merge pull request nsidc#793 from nsidc/disable-linting-jupyter-noteb…
Browse files Browse the repository at this point in the history
…ooks

Disable linting jupyter notebooks
  • Loading branch information
mfisher87 authored Aug 26, 2024
2 parents f5283fa + 59354ca commit 0385d12
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 0385d12

Please sign in to comment.