diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6eebb6ad..1c49fc3a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -152,7 +152,7 @@ ruff lint: - .runner-utility-linux-x86_64 before_script: - python -m pip install --upgrade pip - - pip install --upgrade ruff==0.6.8 + - pip install ruff --constraint docs/requirements.txt script: - ruff check --output-format full --exit-zero # Just to get something in the log - ruff check --output-format gitlab > gl-code-quality-report.json @@ -168,7 +168,7 @@ ruff format: - .runner-utility-linux-x86_64 before_script: - python -m pip install --upgrade pip - - pip install --upgrade ruff==0.6.8 + - pip install ruff --constraint docs/requirements.txt script: - ruff format --diff diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index fd7faf1d..1c98528b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ ci: repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.6.8 + rev: v0.8.0 hooks: # Run the linter. - id: ruff diff --git a/docs/requirements.txt b/docs/requirements.txt index 43f96d19..9843c1b6 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,6 @@ sphinx==8.0.2 sphinx_copybutton==0.5.2 numpy==2.1.1 -ruff==0.6.8 +ruff==0.8.0 myst-parser==4.0.0 nvidia-sphinx-theme==0.0.5.post1