python3Packages: format with nixfmt

This commit is contained in:
Martin Weinelt
2024-05-22 17:32:03 +02:00
parent 691216eca3
commit 59b1aef590
6796 changed files with 97594 additions and 98381 deletions
@@ -1,9 +1,10 @@
{ lib
, callPackage
, buildPythonPackage
, fetchPypi
, pythonOlder
, hatchling
{
lib,
callPackage,
buildPythonPackage,
fetchPypi,
pythonOlder,
hatchling,
}:
buildPythonPackage rec {
@@ -26,9 +27,7 @@ buildPythonPackage rec {
substituteAllInPlace pyproject.toml
'';
nativeBuildInputs = [
hatchling
];
nativeBuildInputs = [ hatchling ];
outputs = [
"out"
@@ -41,9 +40,7 @@ buildPythonPackage rec {
cp -R conftest.py tests $testout
'';
pythonImportsCheck = [
"attr"
];
pythonImportsCheck = [ "attr" ];
# pytest depends on attrs, so we can't do this out-of-the-box.
# Instead, we do this as a passthru.tests test.
@@ -1,7 +1,8 @@
{ buildPythonPackage
, pytestCheckHook
, attrs
, hypothesis
{
buildPythonPackage,
pytestCheckHook,
attrs,
hypothesis,
}:
buildPythonPackage {