Skip to content

Commit

Permalink
Fix ruff warnings
Browse files Browse the repository at this point in the history
Add package-mode = false to pyproject.toml
  • Loading branch information
insolor committed Sep 1, 2024
1 parent fbd70b6 commit dfca1a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description = ""
authors = ["insolor <[email protected]>"]
license = "MIT"
readme = "README.md"
package-mode = false

[tool.poetry.dependencies]
python = "^3.10"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_home_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from pathlib import Path


@pytest.fixture()
@pytest.fixture
@patch("download_source.download_file")
@patch("download_source.get_latest_release")
def apptest(get_latest_release: Callable[[], ReleaseInfo], download_file: Callable[[Path | str, str], None]):
Expand Down
2 changes: 1 addition & 1 deletion tests/test_parse_downloads.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
tests_dir = Path(__file__).parent


@pytest.fixture()
@pytest.fixture
def downloads_page():
return Path.open(tests_dir / "assets" / "downloads.html").read()

Expand Down

0 comments on commit dfca1a6

Please sign in to comment.