python3Packages.pytest-unmagic: add update script
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pytestCheckHook,
|
||||
gitUpdater,
|
||||
flit-core,
|
||||
pytest,
|
||||
}:
|
||||
@@ -29,6 +30,8 @@ buildPythonPackage rec {
|
||||
|
||||
pythonImportsCheck = [ "unmagic" ];
|
||||
|
||||
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
|
||||
|
||||
meta = {
|
||||
description = "Pytest fixtures with conventional import semantics";
|
||||
homepage = "https://github.com/dimagi/pytest-unmagic";
|
||||
|
||||
Reference in New Issue
Block a user