<commit_before>import os
from .ruby import RubyExecutor


class Executor(RubyExecutor):
    name = 'RUBY19'

    def get_nproc(self):
        return [-1, 1][os.name == 'nt']

    def get_security(self):
        from cptbox.syscalls import sys_write
        sec = super(Executor, self).get_security()
        sec[sys_write] = lambda debugger: debugger.arg0 in (1, 2, 4)
        return sec

initialize = Executor.initialize<commit_msg>Proper PyCharm style.<commit_after>import os

from .ruby import RubyExecutor


class Executor(RubyExecutor):
    name = 'RUBY19'

    def get_nproc(self):
        return [-1, 1][os.name == 'nt']

    def get_security(self):
        from cptbox.syscalls import sys_write
        sec = super(Executor, self).get_security()
        sec[sys_write] = lambda debugger: debugger.arg0 in (1, 2, 4)
        return sec


initialize = Executor.initialize
{'fraction_non_alphanumeric': 0.10616438356164383, 'fraction_numerical': 0.0182648401826484, 'mean_word_length': 3.060185185185185, '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': '2598258', 'n_tokens_mistral': 300, 'n_tokens_neox': 274, 'n_words': 75}