diff --git a/pkgs/development/python-modules/bc-detect-secrets/default.nix b/pkgs/development/python-modules/bc-detect-secrets/default.nix index 7dcbb9a54824..c226c50be996 100644 --- a/pkgs/development/python-modules/bc-detect-secrets/default.nix +++ b/pkgs/development/python-modules/bc-detect-secrets/default.nix @@ -1,17 +1,18 @@ -{ lib -, buildPythonPackage -, fetchFromGitHub -, gibberish-detector -, mock -, pkgs -, pyahocorasick -, pytestCheckHook -, pythonOlder -, pyyaml -, requests -, responses -, setuptools -, unidiff +{ + lib, + buildPythonPackage, + fetchFromGitHub, + gibberish-detector, + mock, + pkgs, + pyahocorasick, + pytestCheckHook, + pythonOlder, + pyyaml, + requests, + responses, + setuptools, + unidiff, }: buildPythonPackage rec { @@ -28,9 +29,7 @@ buildPythonPackage rec { hash = "sha256-sAh4WDaPmA8ADFdynGrIBBG75Bji8jMwKBcfw3woCmg="; }; - build-system = [ - setuptools - ]; + build-system = [ setuptools ]; dependencies = [ pyyaml @@ -39,12 +38,8 @@ buildPythonPackage rec { ]; passthru.optional-dependencies = { - word_list = [ - pyahocorasick - ]; - gibberish = [ - gibberish-detector - ]; + word_list = [ pyahocorasick ]; + gibberish = [ gibberish-detector ]; }; nativeCheckInputs = [ @@ -71,9 +66,7 @@ buildPythonPackage rec { "TestModifiesBaselineFromVersionChange" ]; - pythonImportsCheck = [ - "detect_secrets" - ]; + pythonImportsCheck = [ "detect_secrets" ]; meta = with lib; { description = "Tool to detect secrets in the code"; @@ -82,4 +75,3 @@ buildPythonPackage rec { maintainers = with maintainers; [ fab ]; }; } -