<commit_before>#!/usr/bin/env python
#
# This script will set up tab completion for the Azure CLI.
#
# Calling the script
#   e.g. python <filename> <path_to_cli_install> <path_to_config_file>
#           <path_to_config_file> is optional as a default will be used. (e.g. ~/.bashrc)
#
# - Optional Environment Variables Available
#     AZURE_CLI_DISABLE_PROMPTS  - Disable prompts during installation and use the defaults
#
from __future__ import print_function
import os
import sys
import shutil

try:
    # Rename raw_input to input to support Python 2
    input = raw_input
except NameError:
    # Python 3 doesn't have raw_input
    pass

DISABLE_PROMPTS = os.environ.get('AZURE_CLI_DISABLE_PROMPTS')

COMPLETION_FILENAME = 'az.completion'
REGISTER_PYTHON_ARGCOMPLETE = """

_python_argcomplete() {
    local IFS='\v'
    COMPREPLY=( $(IFS="$IFS"                   COMP_LINE="$COMP_LINE"                   COMP_POINT="$COMP_POINT"                   _ARGCOMPLETE_COMP_WORDBREAKS="$COMP_WORDBREAKS"                   _ARGCOMPLETE=1                   "$1" 8>&1 9>&2 1>/dev/null 2>/dev/null) )
    if [[ $? != 0 ]]; then<commit_msg>Modify comments<commit_after>#!/usr/bin/env python
#
# This script will set up tab completion for the Azure CLI.
#
# Calling the script
#   e.g. python <filename> <path_to_cli_install> <path_to_rc_file>
#           <path_to_rc_file> is optional as a default will be used. (e.g. ~/.bashrc)
#
# - Optional Environment Variables Available
#     AZURE_CLI_DISABLE_PROMPTS  - Disable prompts during installation and use the defaults
#
from __future__ import print_function
import os
import sys
import shutil

try:
    # Rename raw_input to input to support Python 2
    input = raw_input
except NameError:
    # Python 3 doesn't have raw_input
    pass

DISABLE_PROMPTS = os.environ.get('AZURE_CLI_DISABLE_PROMPTS')

COMPLETION_FILENAME = 'az.completion'
REGISTER_PYTHON_ARGCOMPLETE = """

_python_argcomplete() {
    local IFS='\v'
    COMPREPLY=( $(IFS="$IFS"                   COMP_LINE="$COMP_LINE"                   COMP_POINT="$COMP_POINT"                   _ARGCOMPLETE_COMP_WORDBREAKS="$COMP_WORDBREAKS"                   _ARGCOMPLETE=1                   "$1" 8>&1 9>&2 1>/dev/null 2>/dev/null) )
    if [[ $? != 0 ]]; then
{'fraction_non_alphanumeric': 0.09920283436669619, 'fraction_numerical': 0.00974313551815766, 'mean_word_length': 3.0195729537366547, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 19, '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': '1991269', 'n_tokens_mistral': 777, 'n_tokens_neox': 750, 'n_words': 192}