<commit_before>function mkpy
    if count $argv > /dev/null
    else
        echo 'Please input file name for argument.'
        return
    end

    string trim '#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

def '$argv'():
    # do something

if __name__ == '__main__':
	main()

' > ./$argv.py
    echo './'$argv'.py file was created.'
end<commit_msg>add override message for py<commit_after>function mkpy
    # check argument
    if count $argv > /dev/null
    else
        echo 'Please input file name for argument.'
        return
    end

    # check argument
    if test -e './'$argv'.py'
        echo -sn './'$argv'.py already exists. Continue to override? [Y/n] ' > /dev/stderr
        __fisher_get_key | read -l yn
        echo $yn
        switch "$yn"
            case n N
            return 1
        end
    end

    # make python file
    string trim '#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys

def '$argv'():
    # do something

if __name__ == '__main__':
	main()

' > ./$argv.py
    echo './'$argv'.py file was created.'
end
{'fraction_non_alphanumeric': 0.13402061855670103, 'fraction_numerical': 0.0028116213683223993, 'mean_word_length': 1.926027397260274, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '7515061', 'n_tokens_mistral': 345, 'n_tokens_neox': 337, 'n_words': 117}