<commit_before>#!/usr/bin/env python

import argparse
import logging
import os
import sys

sys.path.append (os.path.dirname (__file__))

from src import Deployer, Logger

def main ():
	# Parse command line options
	parser = argparse.ArgumentParser (description = 'Perform incremental deployment from Git/plain workspace to FTP/SSH/local folder.')
	parser.add_argument ('name', nargs = '*', help = 'Deploy to specified named location (* = everywhere)')
	parser.add_argument ('-a', '--append', action = 'append', default = [], help = 'Manually append file or directory to locations', metavar = 'PATH')
	parser.add_argument ('-b', '--base', default = '.', help = 'Change base directory', metavar = 'DIR')
	parser.add_argument ('--extra-append', action = 'append', default = [], help = argparse.SUPPRESS)
	parser.add_argument ('-e', '--environment', default = '.creep.env', help = 'Read environment configuration from specified file or JSON string', metavar = 'FILE/JSON')
	parser.add_argument ('-f', '--rev-from', help = 'Initial version used to compute diff', metavar = 'REV')
	parser.add_argument ('-d', '--definition', default = '.creep.def', help = 'Read definition configuration from specified file or JSON string', metavar = 'FILE/JSON')
	parser.add_argument ('-q', '--quiet', dest = 'level', action = 'store_const', const = logging.CRITICAL + 1, default = logging.INFO, help = 'Quiet mode, don\'t display anything but errors')<commit_msg>Do not hide warnings and errors on quiet mode.<commit_after>#!/usr/bin/env python

import argparse
import logging
import os
import sys

sys.path.append (os.path.dirname (__file__))

from src import Deployer, Logger

def main ():
	# Parse command line options
	parser = argparse.ArgumentParser (description = 'Perform incremental deployment from Git/plain workspace to FTP/SSH/local folder.')
	parser.add_argument ('name', nargs = '*', help = 'Deploy to specified named location (* = everywhere)')
	parser.add_argument ('-a', '--append', action = 'append', default = [], help = 'Manually append file or directory to locations', metavar = 'PATH')
	parser.add_argument ('-b', '--base', default = '.', help = 'Change base directory', metavar = 'DIR')
	parser.add_argument ('--extra-append', action = 'append', default = [], help = argparse.SUPPRESS)
	parser.add_argument ('-e', '--environment', default = '.creep.env', help = 'Read environment configuration from specified file or JSON string', metavar = 'FILE/JSON')
	parser.add_argument ('-f', '--rev-from', help = 'Initial version used to compute diff', metavar = 'REV')
	parser.add_argument ('-d', '--definition', default = '.creep.def', help = 'Read definition configuration from specified file or JSON string', metavar = 'FILE/JSON')
	parser.add_argument ('-q', '--quiet', dest = 'level', action = 'store_const', const = logging.WARNING, default = logging.INFO, help = 'Quiet mode, don\'t display anything but errors')
{'fraction_non_alphanumeric': 0.15453296703296704, 'fraction_numerical': 0.00034340659340659343, 'mean_word_length': 4.802788844621514, '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': '566734', 'n_tokens_mistral': 852, 'n_tokens_neox': 844, 'n_words': 296}