Uname: Linux dedi-15171674.espacofacial.com.br 5.14.0-687.36.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Aug 7 05:40:49 EDT 2026 x86_64
Software: Apache
PHP version: 8.2.33 [ PHP INFO ] PHP os: Linux
Server Ip: 172.67.154.186
Your Ip: 216.73.216.87
User: espa7358 (1004) | Group: espa7358 (1003)
Safe Mode: OFF
Disable Function:
NONE

name : mypy
# mypy completion                                          -*- shell-script -*-

_mypy()
{
    local cur prev words cword split
    _init_completion -s || return

    [[ $cword -gt 2 && ${words[cword - 2]} == --shadow-file ]] &&
        prev=--shadow-file # hack; takes two args

    case $prev in
        --help | --version | --python-version | --platform | --always-true | \
            --always-false | --find-occurrences | --package | --command | -!(-*)[hVpc])
            return
            ;;
        --config-file)
            _filedir
            return
            ;;
        --follow-imports)
            COMPREPLY=($(compgen -W 'normal silent skip error' -- "$cur"))
            return
            ;;
        --python-executable)
            COMPREPLY=($(compgen -c -- "${cur:-py}"))
            return
            ;;
        --*-dir | --*-report)
            _filedir -d
            return
            ;;
        --custom-typing | --module | -!(-*)m)
            _xfunc python _python_modules
            return
            ;;
        --shadow-file)
            _filedir '@(py|pyi)'
            return
            ;;
        --junit-xml)
            _filedir xml
            return
            ;;
    esac

    $split && return

    if [[ $cur == -* ]]; then
        COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
        return
    fi

    _filedir '@(py|pyi)'
} &&
    complete -F _mypy mypy

# ex: filetype=sh
© 2026 UnknownSec