<commit_before>language: python
cache:
    pip
python:
  - 2.7
  - 3.4
  - 3.5
  - 3.6
install:
  - pip install -U pip wheel
  - pip install -r requirements-dev.txt
script:
  - make test
  - make lint
  - make complexity
  - make docs

stages:
  - test
  - strict lint

jobs:
    include:
        - stage: strict lint
          python: 3.6
          install: pip install pylint
          env: LINTER=pylint
          script: make pylint
          if: branch=master
        - stage: strict lint
          python: 3.6
          install: pip install flake8
          env: LINTER=flake8
          script: make flake8
          if: branch=master
        - stage: strict lint
          python: 3.6
          install: pip install pydocstyle
          env: LINTER=pydocstyle
          script: make pydocstyle
          if: branch=master<commit_msg>Move some tests to act only on the dev branch<commit_after>language: python
cache:
    pip
python:
  - 2.7
  - 3.4
  - 3.5
  - 3.6
install:
  - pip install -U pip wheel
  - pip install -r requirements-dev.txt
script:
  - make test

stages:
  - test
  - lax lint
  - strict lint

jobs:
    include:
        - stage: lax lint and other checks
          python: 3.6
          script:
            - make lint
            - make complexity
            - make docs
          if: branch=dev
        - stage: strict lint
          python: 3.6
          install: pip install pylint
          env: LINTER=pylint
          script: make pylint
          if: branch=master
        - stage: strict lint
          python: 3.6
          install: pip install flake8
          env: LINTER=flake8
          script: make flake8
          if: branch=master
        - stage: strict lint
          python: 3.6
          install: pip install pydocstyle
          env: LINTER=pydocstyle
          script: make pydocstyle
          if: branch=master
{'fraction_non_alphanumeric': 0.06977992485238863, 'fraction_numerical': 0.01932367149758454, 'mean_word_length': 1.4591029023746702, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '442606', 'n_tokens_mistral': 592, 'n_tokens_neox': 564, 'n_words': 185}