python312Packages.camel-converter: format with nixfmt
This commit is contained in:
parent
8a8f283acd
commit
2ab35f2aaf
1 changed files with 12 additions and 19 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue