<commit_before># -*- coding: utf-8 -*-
# K-Pg
import os
import pickle
from datetime import datetime

import pylast

from shiva import models as m
from shiva.app import app, db
from shiva.utils import ID3Manager

q = db.session.query

class Indexer(object):
    def __init__(self, config=None):
        self.config = config
        self.media_dirs = config.get('MEDIA_DIRS', [])
        self.id3r = None<commit_msg>Pylint complaints<commit_after># -*- coding: utf-8 -*-
# K-Pg
import os
from datetime import datetime

import pylast

from shiva import models as m
from shiva.app import app, db
from shiva.utils import ID3Manager

q = db.session.query


class Indexer(object):
    def __init__(self, config=None):
        self.config = config
        self.media_dirs = config.get('MEDIA_DIRS', [])
        self.id3r = None
{'fraction_non_alphanumeric': 0.10256410256410256, 'fraction_numerical': 0.007326007326007326, 'mean_word_length': 3.2931937172774868, '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': '5466183', 'n_tokens_mistral': 271, 'n_tokens_neox': 267, 'n_words': 82}