python3Packages: format with nixfmt
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user