<commit_before>#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# tests: mypy, lint

import unittest

from neuralmonkey.decoders.decoder import Decoder
from neuralmonkey.vocabulary import Vocabulary

class TestDecoder(unittest.TestCase):

    def test_init(self):
        d = Decoder([], Vocabulary(), "foo")

if __name__ == "__main__":
    unittest.main()<commit_msg>pylint satisfaction<commit_after>#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# tests: mypy, lint

import unittest

from neuralmonkey.decoders.decoder import Decoder
from neuralmonkey.vocabulary import Vocabulary

class TestDecoder(unittest.TestCase):

    def test_init(self):
        decoder = Decoder([], Vocabulary(), "foo")
        self.assertIsNotNone(decoder)

if __name__ == "__main__":
    unittest.main()
{'fraction_non_alphanumeric': 0.1288265306122449, 'fraction_numerical': 0.00510204081632653, 'mean_word_length': 4.233333333333333, 'pattern_counts': {'":': 2, '<': 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': '4804234', 'n_tokens_mistral': 266, 'n_tokens_neox': 260, 'n_words': 59}