<commit_before>{% set name = "nfoursid" %}
{% set version = "0.1.0" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
  sha256: cb9531ec40dcd7bb00b7447576294ff36875db6bd2126ffef63ec27ca6117d58

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - pip
    - python >=3.7
  run:
    - python >=3.7

test:
  imports:
    - nfoursid
    - nfoursid.tests
  requires:
    - pip
  commands:
    - python -m unittest discover -v nfoursid.tests
<commit_msg>pipeline needs imports, otherwise it fails<commit_after>{% set name = "nfoursid" %}
{% set version = "0.1.0" %}

package:
  name: "{{ name|lower }}"
  version: "{{ version }}"

source:
  url: "https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz"
  sha256: cb9531ec40dcd7bb00b7447576294ff36875db6bd2126ffef63ec27ca6117d58

build:
  number: 0
  noarch: python
  script: "{{ PYTHON }} -m pip install . -vv"

requirements:
  host:
    - pip
    - python >=3.7
  run:
    - python >=3.7

test:
  imports:
    - nfoursid
    - nfoursid.tests
    - numpy
  requires:
    - pip
  commands:
    - python -m unittest discover -v nfoursid.tests

{'fraction_non_alphanumeric': 0.1660261337432744, 'fraction_numerical': 0.07840122982321292, 'mean_word_length': 2.863501483679525, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '6688481', 'n_tokens_mistral': 579, 'n_tokens_neox': 527, 'n_words': 114}