black-macchiato: Fix failing tests (#402010)

This commit is contained in:
OTABI Tomoya
2025-04-27 22:14:44 +09:00
committed by GitHub
@@ -5,6 +5,7 @@
pythonOlder,
pytestCheckHook,
black,
fetchpatch,
}:
buildPythonPackage rec {
@@ -21,6 +22,14 @@ buildPythonPackage rec {
sha256 = "0lc9w50nlbmlzj44krk7kxcia202fhybbnwfh77xixlc7vb4rayl";
};
patches = [
# fix empty multi-line string test
(fetchpatch {
url = "https://github.com/wbolster/black-macchiato/commit/d3243a1c95b5029b3ffa12417f0c587a2ba79bcd.patch";
hash = "sha256-3m8U6c+1UCRy/Fkq6lk9LhwrFyE+q3GD2jnMA7N4ZJs=";
})
];
propagatedBuildInputs = [ black ];
nativeCheckInputs = [