<commit_before>#!/usr/bin/python

import sys
import json

'''- name: force_create
type: BaseTypeBool
- name: containerslist
type: ContainersList
- name: container_name
type: BaseTypeString'''

inputs = json.load(sys.stdin)

if not inputs['force_create']['value']:
    if inputs['container_name']['value'] in inputs['containerslist']['containers']:
        print "ERROR: container {} already runs on target".format(inputs['container_name']['value'])
        sys.exit(1)<commit_msg>checks aren't happy about the print<commit_after>#!/usr/bin/python

import sys
import json

'''- name: force_create
type: BaseTypeBool
- name: containerslist
type: ContainersList
- name: container_name
type: BaseTypeString'''

inputs = json.load(sys.stdin)

if not inputs['force_create']['value']:
    if inputs['container_name']['value'] in inputs['containerslist']['containers']:
        sys.stderr.write("ERROR: container {} already runs on target".format(inputs['container_name']['value']) + "\n")
        sys.exit(1)
{'fraction_non_alphanumeric': 0.15484515484515485, 'fraction_numerical': 0.001998001998001998, 'mean_word_length': 5.5064935064935066, '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': '3750692', 'n_tokens_mistral': 303, 'n_tokens_neox': 297, 'n_words': 72}