Skip to content

Commit

Permalink
Merge branch 'ershi/ruff-0.8.0' into 'main'
Browse files Browse the repository at this point in the history
Upgrade Ruff to 0.8.0

See merge request omniverse/warp!887
  • Loading branch information
shi-eric committed Nov 25, 2024
2 parents ef73ae3 + 344bd8b commit be78b78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit be78b78

Please sign in to comment.