Commit 00822db2 authored by Fabian Affolter's avatar Fabian Affolter
Browse files

python312Packages.bc-detect-secrets: format with nixfmt

parent 9a21177e
Loading
Loading
Loading
Loading
+19 −27
Original line number Diff line number Diff line
{ 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 ];
  };
}