python312Packages.bc-detect-secrets: format with nixfmt

This commit is contained in:
Fabian Affolter
2024-04-11 23:35:58 +02:00
parent 9a21177e8a
commit 00822db219
@@ -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 ];
};
}