<commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2019 damian <damian@C-DZ-E5500>
#
# Distributed under terms of the MIT license.
'''
setup config for Flask helloworld app
'''

import sys
import os

from setuptools import setup
from setuptools.command.test import test as TestCommand

install_requires = [
    'flask==0.12.2'
    ]

test_requires = [
    'pytest>=2.8.0',
    'pytest-xdist',
    'pytest-cov',
    'pytest-mock',
    'pytest-pylint',
    'pytest-bandit'
    ]

packages = ['helloworld']

class PyTest(TestCommand):
    user_options = [('pytest-args=', 'a', "Arguments to pass into py.test")]

    def initialize_options(self):
        TestCommand.initialize_options(self)
        try:
            from multiprocessing import cpu_count
            self.pytest_args = ['-n', str(cpu_count()), '--boxed']
        except (ImportError, NotImplementedError):<commit_msg>build(deps): bump flask in /python/flask_tox_pytest_helloworld<commit_after>#! /usr/bin/env python
# -*- coding: utf-8 -*-
# vim:fenc=utf-8
#
# Copyright © 2019 damian <damian@C-DZ-E5500>
#
# Distributed under terms of the MIT license.
'''
setup config for Flask helloworld app
'''

import sys
import os

from setuptools import setup
from setuptools.command.test import test as TestCommand

install_requires = [
    'flask==0.12.3'
    ]

test_requires = [
    'pytest>=2.8.0',
    'pytest-xdist',
    'pytest-cov',
    'pytest-mock',
    'pytest-pylint',
    'pytest-bandit'
    ]

packages = ['helloworld']

class PyTest(TestCommand):
    user_options = [('pytest-args=', 'a', "Arguments to pass into py.test")]

    def initialize_options(self):
        TestCommand.initialize_options(self)
        try:
            from multiprocessing import cpu_count
            self.pytest_args = ['-n', str(cpu_count()), '--boxed']
        except (ImportError, NotImplementedError):
{'fraction_non_alphanumeric': 0.1395471300684571, 'fraction_numerical': 0.01790416008425487, 'mean_word_length': 3.2316258351893095, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3096083', 'n_tokens_mistral': 678, 'n_tokens_neox': 672, 'n_words': 151}