python312Packages.tree-sitter-languages: format with nixfmt-rfc-style

This commit is contained in:
natsukium
2024-08-07 11:36:24 +03:00
committed by Doron Behar
parent c71dba70b3
commit 9e7fb18eab
@@ -1,12 +1,13 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools
, wheel
, cython
, tree-sitter0_21
, pytestCheckHook
, python
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
wheel,
cython,
tree-sitter0_21,
pytestCheckHook,
python,
}:
buildPythonPackage rec {
@@ -45,9 +46,7 @@ buildPythonPackage rec {
preBuild = ''
${python.pythonOnBuildForHost.interpreter} build.py
'';
nativeCheckInputs = [
pytestCheckHook
];
nativeCheckInputs = [ pytestCheckHook ];
# Without cd $out, tests fail to import the compiled cython extensions.
# Without copying the ./tests/ directory to $out, pytest won't detect the
# tests and run them. See also: