Commit 3c0d5f8c authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python310Packages.mdformat-beautysh: enable tests

- add pythonImportsCheck
parent 852c6ab2
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -6,6 +6,7 @@
, mdformat-gfm
, mdit-py-plugins
, poetry-core
, pytestCheckHook
, pythonOlder
, wheel
}:
@@ -39,6 +40,14 @@ buildPythonPackage rec {
    beautysh
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportsCheck = [
    "mdformat_beautysh"
  ];

  meta = with lib; {
    description = "Mdformat plugin to beautify Bash scripts";
    homepage = "https://github.com/hukkin/mdformat-beautysh";