<commit_before>#!/usr/bin/env python2
import pika
import pickle
from pystil import config

if __name__ == '__main__':
    config.freeze()
    connection = pika.BlockingConnection(pika.ConnectionParameters(
        host='localhost'))
    channel = connection.channel()
    channel.queue_declare(queue='pystil')
    def callback(ch, method, properties, body):
        message = pickle.loads(body)
        message.process()
    channel.basic_consume(callback, queue='pystil')
    channel.start_consuming()<commit_msg>Add the (in)famous no_ack=True<commit_after>#!/usr/bin/env python2
import pika
import pickle
from pystil import config

if __name__ == '__main__':
    config.freeze()
    connection = pika.BlockingConnection(pika.ConnectionParameters(
        host='localhost'))
    channel = connection.channel()
    channel.queue_declare(queue='pystil')

    def callback(ch, method, properties, body):
        message = pickle.loads(body)
        message.process()
    channel.basic_consume(callback, queue='pystil', no_ack=True)
    channel.start_consuming()
{'fraction_non_alphanumeric': 0.11614730878186968, 'fraction_numerical': 0.0018885741265344666, 'mean_word_length': 4.196078431372549, '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': '7604313', 'n_tokens_mistral': 327, 'n_tokens_neox': 321, 'n_words': 65}