ó
„¾^Yc           @   sC   d  Z  d d l m Z d d l m Z d d l m Z d „  Z d S(   s=   Contains the logic for all of the default options for Flake8.iÿÿÿÿ(   t   defaults(   t   debug(   t   vcsc         C   s”  |  j  } | d d d d d d d t d d	 ƒ| d
 d d d d d d t d d ƒ| d d d d t d d ƒ| d d d d d ƒ| d d d d d j t j ƒ d t d t d t d d ƒ| d d d d d d t d t d d ƒ| d d d d d ƒ| d d d  d d d t d d! ƒ| d" d d d t d d# ƒ| d$ d d% d d j t j ƒ d t d t d d& ƒ| d' d( d) d d* d t j d t d d+ ƒ| d, d d% d d j t j ƒ d t d t d d- ƒ| d. d t d t d d d d/ ƒ| d0 d d d t d d1 ƒ| d2 d d d t d d3 ƒ| d4 d d5 d t d t d( d6 d d7 ƒ| d8 d d d d9 ƒ| d: d d; d( d< d= t	 j
 ƒ  d; t	 j d d> ƒ| d? d@ d( d6 d dA d t d dB ƒ| dC d dT d( d6 d t d dD ƒ| dE d t d t d d d dF ƒ| dG d dH d dI ƒ| dJ d dT d dK ƒ| dL d t d d d dM ƒ| dN d t d d d dO ƒ| dP d d; d; t j dQ i |  dR 6d dS ƒdT S(U   ss  Register the default options on our OptionManager.

    The default options include:

    - ``-v``/``--verbose``
    - ``-q``/``--quiet``
    - ``--count``
    - ``--diff``
    - ``--exclude``
    - ``--filename``
    - ``--format``
    - ``--hang-closing``
    - ``--ignore``
    - ``--max-line-length``
    - ``--select``
    - ``--disable-noqa``
    - ``--show-source``
    - ``--statistics``
    - ``--enable-extensions``
    - ``--exit-zero``
    - ``-j``/``--jobs``
    - ``--output-file``
    - ``--tee``
    - ``--append-config``
    - ``--config``
    - ``--isolated``
    - ``--benchmark``
    - ``--bug-report``
    s   -vs	   --verboset   defaulti    t   actiont   countt   parse_from_configt   helps‰   Print more information about what is happening in flake8. This option is repeatable and will increase verbosity each time it is repeated.s   -qs   --quiets>   Report only file names, or nothing. This option is repeatable.s   --countt
   store_truesm   Print total number of errors and warnings to standard error and set the exit code to 1 if total is not empty.s   --diffsf   Report changes only within line number ranges in the unified diff provided on standard in by the user.s	   --excludet   metavart   patternst   ,t   comma_separated_listt   normalize_pathssL   Comma-separated list of files or directories to exclude. (Default: %default)s
   --filenames   *.pys`   Only check for filenames matching the patterns in this comma-separated list. (Default: %default)s   --stdin-display-namet   stdins’   The name used when reporting errors from code passed via stdin. This is useful for editors piping the file contents to flake8. (Default: %default)s   --formatt   formats0   Format errors according to the chosen formatter.s   --hang-closingsO   Hang closing bracket instead of matching indentation of opening bracket's line.s   --ignoret   errorss{   Comma-separated list of errors and warnings to ignore (or skip). For example, ``--ignore=E4,E51,W234``. (Default: %default)s   --max-line-lengtht   typet   intt   nsM   Maximum allowed line length for the entirety of this run. (Default: %default)s   --selectsq   Comma-separated list of errors and warnings to enable. For example, ``--select=E4,E51,W234``. (Default: %default)s   --disable-noqasZ   Disable the effect of "# noqa". This will report errors on lines with "# noqa" at the end.s   --show-sources/   Show the source generate each error or warning.s   --statisticss   Count errors and warnings.s   --enable-extensionst    t   stringsD   Enable plugins and extensions that are otherwise disabled by defaults   --exit-zeros3   Exit with status code "0" even if there are errors.s   --install-hookt   callbackt   choicet   choicessV   Install a hook that is run prior to a commit for the supported version control system.s   -js   --jobst   autos¹   Number of subprocesses to use to run checks in parallel. This is ignored on Windows. The default, "auto", will auto-detect the number of processors available to use. (Default: %default)s   --output-files   Redirect report to a file.s   --tees    Write to stdout and output-file.s   --append-configt   appendsÐ   Provide extra config files to parse in addition to the files found by Flake8 by default. These files are the last ones read and so they take the highest precedence when multiple files provide the same option.s   --configs…   Path to the config file that will be the authoritative config source. This will cause Flake8 to ignore all other configuration files.s
   --isolateds%   Ignore all found configuration files.s   --benchmarks4   Print benchmark information about this run of Flake8s   --bug-reportt   callback_kwargst   option_managers7   Print information necessary when preparing a bug reportN(   t
   add_optiont   Truet   joinR    t   EXCLUDEt   IGNOREt   MAX_LINE_LENGTHt   SELECTt   FalseR   R   t   installt   NoneR   t   print_information(   R   R   (    (    s3   /tmp/pip-build-EndXZ2/flake8/flake8/main/options.pyt   register_default_options   s¸    	
N(   t   __doc__t   flake8R    t   flake8.mainR   R   R(   (    (    (    s3   /tmp/pip-build-EndXZ2/flake8/flake8/main/options.pyt   <module>   s   