Skip to content

Commit

Permalink
Fix formatting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kutu-dev committed Sep 17, 2023
1 parent bbd7ba2 commit f1b1955
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repos:
rev: v0.0.279
hooks:
- id: ruff
args: [--fix]
args: [--fix, --exit-non-zero-on-fix]

- repo: https://github.com/psf/black
rev: 22.10.0
Expand Down
2 changes: 2 additions & 0 deletions tests/mocks/browsing.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def artist_info(artist: dict[str, Any]) -> dict[str, Any]:
"similarArtist": [artist],
}


@pytest.fixture
def mock_get_artist_info(
mock_generator: MockGenerator, artist: dict[str, Any], artist_info: dict[str, Any]
Expand All @@ -186,6 +187,7 @@ def mock_get_artist_info(
{"artistInfo2": artist_info},
)


@pytest.fixture
def mock_get_artist_info_with_all_optional_params(
mock_generator: MockGenerator, artist: dict[str, Any], artist_info: dict[str, Any]
Expand Down

0 comments on commit f1b1955

Please sign in to comment.