<commit_before>branches:
  - master
  - auto
  - try

required: true

container:
    image: registry.fedoraproject.org/fedora:25

# temp workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1483553
#packages:
#    - '@buildsys-build'
#    - python3-devel

tests:
    # temp workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1483553
    - if (dnf upgrade -y || :) |& grep -q -e BDB1539; then
      rpm --rebuilddb; dnf upgrade -y;
      fi; dnf install -y python3-devel '@buildsys-build'
    - pip3 install flake8 pylint -r requirements.txt
    - flake8 *.py papr/*.py papr/utils/*.py
    - pylint -E *.py papr<commit_msg>ci: drop BDB1539 hack and bump to f27 (#83)<commit_after>branches:
  - master
  - auto
  - try

required: true

container:
    image: registry.fedoraproject.org/fedora:27

packages:
    - '@buildsys-build'
    - python3-devel

tests:
    - pip3 install flake8 pylint -r requirements.txt
    - flake8 *.py papr/*.py papr/utils/*.py
    - pylint -E *.py papr
{'fraction_non_alphanumeric': 0.13205645161290322, 'fraction_numerical': 0.03931451612903226, 'mean_word_length': 2.7191011235955056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '7403938', 'n_tokens_mistral': 408, 'n_tokens_neox': 370, 'n_words': 89}