<commit_before>from flask import g, request

from resource_server import app
from resource_server.decorators import authenticated
from resource_server.utils import get_dependent_tokens


@app.route('/api/doit', methods=['POST'])
@authenticated
def doit():
    # dependent_tokens = get_dependent_tokens(g.req_token)
    return request.headers.get('Authorization', '')


@app.route('/api/cleanup', methods=['POST'])
@authenticated
def cleanup():
    return request.headers.get('Authorization', '')
<commit_msg>Fix lint attempt 2<commit_after>from flask import g, request

from resource_server import app
from resource_server.decorators import authenticated
from resource_server.utils import get_dependent_tokens


@app.route('/api/doit', methods=['POST'])
@authenticated
def doit():
    get_dependent_tokens(g.req_token)

    return request.headers.get('Authorization', '')


@app.route('/api/cleanup', methods=['POST'])
@authenticated
def cleanup():
    return request.headers.get('Authorization', '')

{'fraction_non_alphanumeric': 0.12787212787212787, 'fraction_numerical': 0.000999000999000999, 'mean_word_length': 6.367647058823529, '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': '6781190', 'n_tokens_mistral': 292, 'n_tokens_neox': 281, 'n_words': 68}