diff --git a/flake.nix b/flake.nix index 3f0d8621..888582ad 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,7 @@ }; outputs = inputs @ { flake-parts, ... }: - flake-parts.lib.mkFlake { inherit inputs; } ({ lib, config, ... }: { + flake-parts.lib.mkFlake { inherit inputs; } ({ ... }: { systems = [ "x86_64-linux" "aarch64-linux" diff --git a/pkgs/clan-cli/tests/test_cli.py b/pkgs/clan-cli/tests/test_cli.py index 4d6a4404..2028602a 100644 --- a/pkgs/clan-cli/tests/test_cli.py +++ b/pkgs/clan-cli/tests/test_cli.py @@ -1,10 +1,13 @@ import sys -import clan_cli import pytest +import clan_cli -def test_no_args(capsys: pytest.CaptureFixture, monkeypatch: pytest.MonkeyPatch) -> None: + +def test_no_args( + capsys: pytest.CaptureFixture, monkeypatch: pytest.MonkeyPatch +) -> None: monkeypatch.setattr(sys, "argv", [""]) clan_cli.main() captured = capsys.readouterr() diff --git a/templates/python-project/tests/test_cli.py b/templates/python-project/tests/test_cli.py index 8855774a..6c6f124c 100644 --- a/templates/python-project/tests/test_cli.py +++ b/templates/python-project/tests/test_cli.py @@ -11,7 +11,9 @@ def test_no_args(capsys: pytest.CaptureFixture) -> None: assert captured.out.startswith("usage:") -def test_version(capsys: pytest.CaptureFixture, monkeypatch: pytest.MonkeyPatch) -> None: +def test_version( + capsys: pytest.CaptureFixture, monkeypatch: pytest.MonkeyPatch +) -> None: monkeypatch.setattr(sys, "argv", ["", "--version"]) my_tool.my_cli() captured = capsys.readouterr()