<commit_before>{ lib, buildPythonPackage, fetchPypi, pytest, pytest-runner }:

buildPythonPackage rec {
  pname = "mccabe";
  version = "0.7.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-NI4CQMM7YLvfTlIxku+RnyjLLD19XHeU90AJKQ8jYyU=";
  };

  buildInputs = [ pytest pytest-runner ];

  meta = with lib; {
    description = "McCabe checker, plugin for flake8";
    homepage = "https://github.com/flintwork/mccabe";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}
<commit_msg>python3Packages.mccabe: disable broken tests<commit_after>{ lib
, buildPythonPackage
, fetchPypi
, pytest
, hypothesis
, hypothesmith
, python
}:

buildPythonPackage rec {
  pname = "mccabe";
  version = "0.7.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-NI4CQMM7YLvfTlIxku+RnyjLLD19XHeU90AJKQ8jYyU=";
  };

  buildInputs = [
    pytest
  ];

  # https://github.com/PyCQA/mccabe/issues/93
  doCheck = false;

  meta = with lib; {
    description = "McCabe checker, plugin for flake8";
    homepage = "https://github.com/flintwork/mccabe";
    license = licenses.mit;
    maintainers = with maintainers; [ ];
  };
}

{'fraction_non_alphanumeric': 0.12735042735042734, 'fraction_numerical': 0.03162393162393162, 'mean_word_length': 3.556420233463035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6981010', 'n_tokens_mistral': 479, 'n_tokens_neox': 450, 'n_words': 83}