python312Packages.camel-converter: format with nixfmt

This commit is contained in:
Fabian Affolter 2024-04-20 10:56:36 +02:00
parent 8a8f283acd
commit 2ab35f2aaf
1 changed files with 12 additions and 19 deletions

View File

@ -1,10 +1,11 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, poetry-core
, pydantic
, pytestCheckHook
, pythonOlder
{
lib,
buildPythonPackage,
fetchFromGitHub,
poetry-core,
pydantic,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
@ -26,23 +27,15 @@ buildPythonPackage rec {
--replace-fail "--cov=camel_converter --cov-report term-missing --no-cov-on-fail" ""
'';
build-system = [
poetry-core
];
build-system = [ poetry-core ];
passthru.optional-dependencies = {
pydantic = [
pydantic
];
pydantic = [ pydantic ];
};
nativeCheckInputs = [
pytestCheckHook
] ++ passthru.optional-dependencies.pydantic;
nativeCheckInputs = [ pytestCheckHook ] ++ passthru.optional-dependencies.pydantic;
pythonImportsCheck = [
"camel_converter"
];
pythonImportsCheck = [ "camel_converter" ];
disabledTests = [
# AttributeError: 'Test' object has no attribute 'model_dump'