Skip to content

Commit

Permalink
Fix type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
djcopley committed May 13, 2024
1 parent 550041e commit 3c41fe2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def tmp_shelloracle_home(monkeypatch, tmp_path):
def set_config(monkeypatch, tmp_shelloracle_home):
config_path = tmp_shelloracle_home / "config.toml"

def _set_config(config: dict) -> Configuration:
def _set_config(config: dict) -> None:
with config_path.open("w") as f:
tomlkit.dump(config, f)
configuration = Configuration(config_path)
Expand All @@ -23,4 +23,3 @@ def _set_config(config: dict) -> Configuration:
yield _set_config

config_path.unlink()

0 comments on commit 3c41fe2

Please sign in to comment.