Skip to content

Commit

Permalink
fix ruff issues
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
  • Loading branch information
seapagan committed Aug 20, 2024
1 parent 18ebbd7 commit 0f58508
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ repos:
- id: end-of-file-fixer

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.6
rev: v0.6.1
hooks:
- id: ruff
name: "lint with ruff"
- id: ruff-format
name: "format with ruff"

- repo: https://github.com/jackdewinter/pymarkdown
rev: v0.9.21
rev: v0.9.22
hooks:
- id: pymarkdown
name: "check markdown"
Expand Down
6 changes: 3 additions & 3 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class SettingsExample(TOMLSettings):
test_int_var: int = 42


@pytest.fixture()
@pytest.fixture
def settings(fs: FakeFilesystem) -> SettingsExample:
"""Return a Settings object for testing.
Expand All @@ -35,7 +35,7 @@ def settings(fs: FakeFilesystem) -> SettingsExample:
return SettingsExample("test_app")


@pytest.fixture()
@pytest.fixture
def flat_settings(fs: FakeFilesystem) -> SettingsExample:
"""Return a Settings object for testing with a flat config."""
# Create a fake home directory for the test
Expand All @@ -45,7 +45,7 @@ def flat_settings(fs: FakeFilesystem) -> SettingsExample:
return SettingsExample("test_app", flat_config=True)


@pytest.fixture()
@pytest.fixture
def xdg_settings(fs: FakeFilesystem) -> SettingsExample:
"""Return a Settings object for testing.
Expand Down

0 comments on commit 0f58508

Please sign in to comment.