Skip to content

Commit

Permalink
fix: fix ruff version
Browse files Browse the repository at this point in the history
  • Loading branch information
lvjonok committed Mar 17, 2024
1 parent 895b265 commit 4880ba0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ruff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff
pip install ruff==0.3.3
# Update output format to enable automatic inline annotations.
- name: Run Ruff
run: ruff format --diff .
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: v0.1.11
rev: v0.3.3
hooks:
# Run the formatter.
- id: ruff-format
Expand Down
1 change: 1 addition & 0 deletions src/InteractorAroundActivePlane.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Module contains custom interactor for vtk
inspired by: https://fossies.org/linux/VTK/Examples/GUI/Python/CustomInteraction.py
"""

from typing import Tuple

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/cone_slicing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Module contains logic behind the cone slicing
"""

from typing import Tuple

import numpy as np
Expand Down
1 change: 1 addition & 0 deletions src/figure_editor.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Provides a class creating a new window to edit parameters of custom figures
"""

import sys
from typing import List, Callable, Dict, Tuple, Optional, Union
from functools import partial
Expand Down

0 comments on commit 4880ba0

Please sign in to comment.