From 7db70a7b687d12a160a22912b5c8cade8256d63b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Thu, 11 Apr 2024 15:12:16 +0200 Subject: [PATCH] python312Packages.pytest-bdd: format with nixfmt --- .../python-modules/pytest-bdd/default.nix | 39 ++++++++----------- 1 file changed, 16 insertions(+), 23 deletions(-) diff --git a/pkgs/development/python-modules/pytest-bdd/default.nix b/pkgs/development/python-modules/pytest-bdd/default.nix index c5675f38cef2..025938b94264 100644 --- a/pkgs/development/python-modules/pytest-bdd/default.nix +++ b/pkgs/development/python-modules/pytest-bdd/default.nix @@ -1,14 +1,15 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, mako -, parse -, parse-type -, poetry-core -, pytest -, pytestCheckHook -, pythonOlder -, typing-extensions +{ + lib, + buildPythonPackage, + fetchFromGitHub, + mako, + parse, + parse-type, + poetry-core, + pytest, + pytestCheckHook, + pythonOlder, + typing-extensions, }: buildPythonPackage rec { @@ -25,13 +26,9 @@ buildPythonPackage rec { hash = "sha256-PC4VSsUU5qEFp/C/7OTgHINo8wmOo0w2d1Hpe0EnFzE="; }; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; - buildInputs = [ - pytest - ]; + buildInputs = [ pytest ]; dependencies = [ mako @@ -40,17 +37,13 @@ buildPythonPackage rec { typing-extensions ]; - nativeCheckInputs = [ - pytestCheckHook - ]; + nativeCheckInputs = [ pytestCheckHook ]; preCheck = '' export PATH=$PATH:$out/bin ''; - pythonImportsCheck = [ - "pytest_bdd" - ]; + pythonImportsCheck = [ "pytest_bdd" ]; meta = with lib; { description = "BDD library for the pytest";