diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a4b2d128..20e425ca 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -23,12 +23,12 @@ repos: - id: check-yaml - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.29.0 + rev: 0.29.2 hooks: - id: check-github-workflows - repo: https://github.com/sirosen/texthooks - rev: 0.6.6 + rev: 0.6.7 hooks: - id: fix-smartquotes - id: fix-spaces @@ -79,7 +79,7 @@ repos: exclude: .*\.fits - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.4 + rev: v0.6.3 hooks: - id: ruff name: ruff (see https://docs.astral.sh/ruff/rules) @@ -96,7 +96,7 @@ repos: - black==24.1.1 - repo: https://github.com/nbQA-dev/nbQA - rev: 1.8.5 + rev: 1.8.7 hooks: - id: nbqa-check-ast name: validate Python notebooks diff --git a/pyproject.toml b/pyproject.toml index 9584570a..b2688c37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -168,6 +168,7 @@ ignore = [ [tool.ruff.lint.per-file-ignores] "__init__.py" = ["E402", "F401", "F402", "F403"] # ignore import errors "docs/notebooks/computing_functions/temperature_response.ipynb" = ["A001"] # filter variable shadows Python builtin +"docs/notebooks/getting_started/A_Practical_Guide_to_Data_Extraction_and_Visualization.ipynb" = ["PTH106", "PTH107", "PTH118"] # should switch to using pathlib here later [tool.ruff.lint.flake8-import-conventions.aliases] "astropy.units" = "u"