Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the documentation build #163

Merged
merged 2 commits into from
Mar 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@

repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.3
rev: v0.11.0
hooks:
- id: ruff
args:
@@ -25,7 +25,7 @@ repos:
# - --install-types
# - --non-interactive
- repo: https://github.com/codespell-project/codespell
rev: v2.4.0
rev: v2.4.1
hooks:
- id: codespell
additional_dependencies: [tomli]
@@ -68,12 +68,12 @@ repos:
- id: rst-directive-colons
- id: text-unicode-replacement-char
- repo: https://github.com/PyCQA/isort # TODO: remove as soon as ruff is stable
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort
args: [--profile=black]
- repo: https://github.com/PyCQA/bandit
rev: 1.8.2
rev: 1.8.3
hooks:
- id: bandit
exclude: "^tests/.*|examples/.*"
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ build:
.PHONY: dev
dev:
@git lfs install
$(PYTHON) -m pip install -e ".[dev,test,jupyter,examples]"
$(PYTHON) -m pip install -e ".[dev,test,jupyter,examples]" -r doc/requirements.txt

## install Install the package
##
5 changes: 3 additions & 2 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
cloup
click~=8.1
cloup~=3.0
ipython
nbsphinx
netCDF4>=1.6.1
numpy
setuptools_scm
sphinx
sphinx<8.2.0 # doesn't work with nbsphinx
sphinx-rtd-theme
xarray>=2022.11.0
8 changes: 2 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -26,8 +26,8 @@ dependencies = [
"xarray>=2022.11.0",
"netCDF4>=1.6.1",
"numpy",
"click",
"cloup",
"click~=8.1",
"cloup~=3.0",
]
keywords = [
"climate-science",
@@ -102,10 +102,6 @@ dev = [
# building
"setuptools_scm",
"build",
# documentation
"sphinx",
"sphinx-rtd-theme",
"nbsphinx",
# linting
"pylint",
"flake8",