<commit_before># -*- coding: utf-8 -*-
import pytest
import os
import json

# This pair of generator expressions are pretty lame, but building lists is a
# bad idea as I plan to have a substantial number of tests here.
story_directories = (os.path.join('test_fixtures', d) for d in os.listdir('test_fixtures'))
story_files = (os.path.join(storydir, name) for storydir in story_directories for name in os.listdir(storydir))

@pytest.fixture(scope="class",<commit_msg>Let's pretend I care about PEP8.<commit_after># -*- coding: utf-8 -*-
import pytest
import os
import json

# This pair of generator expressions are pretty lame, but building lists is a
# bad idea as I plan to have a substantial number of tests here.
story_directories = (
    os.path.join('test_fixtures', d) for d in os.listdir('test_fixtures')
)
story_files = (
    os.path.join(storydir, name) for storydir in story_directories
                                 for name in os.listdir(storydir)
)

@pytest.fixture(scope="class",
{'fraction_non_alphanumeric': 0.10040160642570281, 'fraction_numerical': 0.0030120481927710845, 'mean_word_length': 3.985, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6903974', 'n_tokens_mistral': 305, 'n_tokens_neox': 305, 'n_words': 112}