From f4fe9076efaab3b11885e69b4f4020a95d40c6ac Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sun, 21 Apr 2024 11:46:37 +0200 Subject: [PATCH] python312Packages.githubkit: foramt with nixfmt --- .../python-modules/githubkit/default.nix | 47 ++++++++----------- 1 file changed, 19 insertions(+), 28 deletions(-) diff --git a/pkgs/development/python-modules/githubkit/default.nix b/pkgs/development/python-modules/githubkit/default.nix index 8c5284f65129..3a8f62f6a02d 100644 --- a/pkgs/development/python-modules/githubkit/default.nix +++ b/pkgs/development/python-modules/githubkit/default.nix @@ -1,16 +1,17 @@ -{ lib -, anyio -, buildPythonPackage -, fetchFromGitHub -, hishel -, httpx -, poetry-core -, pydantic -, pyjwt -, pytest-xdist -, pytestCheckHook -, pythonOlder -, typing-extensions +{ + lib, + anyio, + buildPythonPackage, + fetchFromGitHub, + hishel, + httpx, + poetry-core, + pydantic, + pyjwt, + pytest-xdist, + pytestCheckHook, + pythonOlder, + typing-extensions, }: buildPythonPackage rec { @@ -32,9 +33,7 @@ buildPythonPackage rec { --replace-fail "--cov=githubkit --cov-append --cov-report=term-missing" "" ''; - build-system = [ - poetry-core - ]; + build-system = [ poetry-core ]; dependencies = [ hishel @@ -48,15 +47,9 @@ buildPythonPackage rec { anyio pyjwt ]; - jwt = [ - pyjwt - ]; - auth-app = [ - pyjwt - ]; - auth-oauth-device = [ - anyio - ]; + jwt = [ pyjwt ]; + auth-app = [ pyjwt ]; + auth-oauth-device = [ anyio ]; auth = [ anyio pyjwt @@ -68,9 +61,7 @@ buildPythonPackage rec { pytest-xdist ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); - pythonImportsCheck = [ - "githubkit" - ]; + pythonImportsCheck = [ "githubkit" ]; disabledTests = [ # Tests require network access