Loading pkgs/development/python-modules/beetcamp/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ }: let version = "0.22.0"; version = "0.23.0"; in buildPythonPackage { pname = "beetcamp"; Loading @@ -28,7 +28,7 @@ buildPythonPackage { owner = "snejus"; repo = "beetcamp"; tag = version; hash = "sha256-5tcQtvYmXT213mZnzKz2kwE5K22rro++lRF65PjC5X0="; hash = "sha256-8FEDpobEGZ0Lw1+JRoFIEe3AuiuX7dwsRab+P3hC3W0="; }; patches = [ Loading pkgs/development/python-modules/beetcamp/remove-git-pytest-option.diff +0 −22 Original line number Diff line number Diff line Loading @@ -74,25 +74,3 @@ index 04d81f66f0..018d9e3c0c 100644 def pytest_assertrepr_compare(op: str, left: Any, right: Any): # noqa: ARG001 """Pretty print the difference between dict objects.""" actual, expected = left, right diff --git a/tests/test_lib.py b/tests/test_lib.py index 665d5aa61d..0a81e42b24 100644 --- a/tests/test_lib.py +++ b/tests/test_lib.py @@ -19,7 +19,6 @@ import pytest from filelock import FileLock -from git import Repo from rich import box from rich.console import Group from rich.markup import escape @@ -273,9 +272,6 @@ return sections = [("Failed", summary["failed"], "red")] - with suppress(TypeError): - if Repo(pytestconfig.rootpath).active_branch.name == "dev": - sections.append(("Fixed", summary["fixed"], "green")) columns = [] for name, all_changes, color in sections: Loading
pkgs/development/python-modules/beetcamp/default.nix +2 −2 Original line number Diff line number Diff line Loading @@ -17,7 +17,7 @@ }: let version = "0.22.0"; version = "0.23.0"; in buildPythonPackage { pname = "beetcamp"; Loading @@ -28,7 +28,7 @@ buildPythonPackage { owner = "snejus"; repo = "beetcamp"; tag = version; hash = "sha256-5tcQtvYmXT213mZnzKz2kwE5K22rro++lRF65PjC5X0="; hash = "sha256-8FEDpobEGZ0Lw1+JRoFIEe3AuiuX7dwsRab+P3hC3W0="; }; patches = [ Loading
pkgs/development/python-modules/beetcamp/remove-git-pytest-option.diff +0 −22 Original line number Diff line number Diff line Loading @@ -74,25 +74,3 @@ index 04d81f66f0..018d9e3c0c 100644 def pytest_assertrepr_compare(op: str, left: Any, right: Any): # noqa: ARG001 """Pretty print the difference between dict objects.""" actual, expected = left, right diff --git a/tests/test_lib.py b/tests/test_lib.py index 665d5aa61d..0a81e42b24 100644 --- a/tests/test_lib.py +++ b/tests/test_lib.py @@ -19,7 +19,6 @@ import pytest from filelock import FileLock -from git import Repo from rich import box from rich.console import Group from rich.markup import escape @@ -273,9 +272,6 @@ return sections = [("Failed", summary["failed"], "red")] - with suppress(TypeError): - if Repo(pytestconfig.rootpath).active_branch.name == "dev": - sections.append(("Fixed", summary["fixed"], "green")) columns = [] for name, all_changes, color in sections: