<commit_before>from raven.transport.base import HTTPTransport, GeventedHTTPTransport, TwistedHTTPTransport, \
  TornadoHTTPTransport, UDPTransport
from raven.transport.exceptions import DuplicateScheme
from raven.transport.threaded import ThreadedHTTPTransport
from raven.utils import urlparse

class TransportRegistry(object):
    def __init__(self, transports=None):
        # setup a default list of senders
        self._schemes = {}
        self._transports = {}

        if transports:
            for transport in transports:
                self.register_transport(transport)

    def register_transport(self, transport):<commit_msg>PEP-8 whitespace<commit_after>from raven.transport.base import HTTPTransport, GeventedHTTPTransport, TwistedHTTPTransport, \
  TornadoHTTPTransport, UDPTransport
from raven.transport.exceptions import DuplicateScheme
from raven.transport.threaded import ThreadedHTTPTransport
from raven.utils import urlparse


class TransportRegistry(object):
    def __init__(self, transports=None):
        # setup a default list of senders
        self._schemes = {}
        self._transports = {}

        if transports:
            for transport in transports:
                self.register_transport(transport)

    def register_transport(self, transport):
{'fraction_non_alphanumeric': 0.0645412130637636, 'fraction_numerical': 0.0007776049766718507, 'mean_word_length': 3.8022388059701493, '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': '5080476', 'n_tokens_mistral': 333, 'n_tokens_neox': 323, 'n_words': 86}