Skip to content

Commit

Permalink
CI: check ruff format
Browse files Browse the repository at this point in the history
  • Loading branch information
tsugumi-sys committed Mar 26, 2024
1 parent 2cf93ff commit 74cb51a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
pytest
- name: Run Ruff Linter
run: |
ruff format --check .
ruff check .
- name: Run mypy Type Checking
run: |
Expand Down
2 changes: 2 additions & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ def __getitem__(self, idx: int) -> torch.Tensor:


class MockMovingMNISTDataLoaders(BaseDataLoaders):
"""Customized MovingMNIST dataset loader for sequence to sequence model"""

def __init__(
self,
dataset_length: int,
Expand Down

0 comments on commit 74cb51a

Please sign in to comment.