<commit_before>#!/usr/bin/python3

import ID3
import os

mp3_extension = ".mp3"

files = os.listdir('.')

for f in files:
    if not os.path.isfile(f):
        files.remove(f)
    else:
        f = os.path.abspath(f)

for f in files:
    print(f)<commit_msg>MP3: Separate file list pruning for clarity<commit_after>#!/usr/bin/python3

import ID3
import os

mp3_extension = ".mp3"

files = os.listdir('.')

for f in files:

    # Prune directories
    if not os.path.isfile(f):
        files.remove(f)
        continue

    # Prune this file
    f_temp = os.path.abspath(f)
    if f_temp == os.path.abspath(__file__):
        files.remove(f)
        continue

for f in files:
    print(f)
{'fraction_non_alphanumeric': 0.12518195050946143, 'fraction_numerical': 0.013100436681222707, 'mean_word_length': 2.528205128205128, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '100151', 'n_tokens_mistral': 268, 'n_tokens_neox': 262, 'n_words': 65}