bgQ6ddlZddlZddlmZddlmZddlmZm Z dZ ej dj Z dZdZd d ZdS) N) OutputChoice) FORMATTERS) DEFAULT_TOOLSTOOLS) build_manager prospectorc v tjd}|tjdd|tjdd|tjdtjg|tjdd|tjd d|tjd d|tjd d|tjd d|tjd d|tjdd|tjdd|tjdd|tjdd|tjdtttj d|tjdd|tjdtj ttj d|tjdtjg|tjdtjg|tjdtjg|tjdtjg|tj dgdd|tjdd|tjdd|tjdd|tjdd|tjdd|tjd tjg|tjd!tjg|tjd"d|tjd#d|tjd$d|S)%Nr zero_exitF)default autodetectTusesblending doc_warnings test_warningsno_style_warningsmember_warnings full_pep8max_line_length messages_only summary_onlyquiet output_formatabsolute_pathstools with_tools without_toolsprofiles profile_path strictness)veryhighhighmediumlowverylow show_profileno_external_configlegacy_tool_namespylint_config_filepathignore_patterns ignore_pathsdie_on_tool_errorinclude_tool_stdoutdirect_tool_stdout)socConfigurationManageraddBooleanSetting ListSettingStringIntegerSettingrsortedrkeysChoicer ChoiceSetting StringSetting)managers p/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/prospector/config/configuration.pyrrs&|44G KK";>>>??? KK"<>>>??? KK B???@@@ KK":t<<<=== KK">4@@@AAA KK"?DAAABBB KK"#6EEEFFF KK"#4dCCCDDD KK";===>>> KK"#4dCCCDDD KK"?EBBBCCC KK">5AAABBB KK"7E:::;;; KK     1 122 3 3    KK"#3UCCCDDD KK   Jvejll++ , ,    KK cj"EEEFFF KKRHHHIII KK CJCCCDDD KK BGGGHHH KK   < < <    KK">5AAABBB KK"#7GGGHHH KK"#6FFFGGG KK!"6EEEFFF KK!&$777888 KK 13:rJJJKKK KK BGGGHHH KK"#6FFFGGG KK"#8%HHHIII KK"#7GGGHHH Nc ttjtjdtjtjdtjdfg}|S)N) .prospectorrcz setup.cfgztox.inir?)build_command_line_sourcer/EnvironmentVariableSourceConfigFileSourceConfigDirectory HomeDirectory)sourcess r<build_default_sourcesrFOsm!## %''     #O44!/22   G$ Nr='Performs static analysis of Python codeci}|||d<|||d<idddgdddd d gd dd d dgdddddgdddddgdddddgddddgdddd d!gd"dd#d$d%gd&dd'd(d)gd*dd+d,d-gd.dd/d0gd1dd2d3d4gd5dd6d7d8gd9dd:d;dttjd?dd@dAdBidCdDdEgdFd>tt jdGd>tt ddHdIgdJd>tt jzddKdLgdMd>tt jzddNdOgdPddQgdRddSgdTddUdVgdWddXdYgdZdd[gd\dd]d^gd_dd`dagdbddcddgdeddfgdgddhgdiddjdkgdlddm}dndodpdqdrff}t j|t||sS)tNprog descriptionr z-0z --zero-exitaIProspector will exit with a code of 1 (one) if any messages are found. This makes automation easier; if there are any problems at all, the exit code is non-zero. However this behaviour is not always desirable, so if this flag is set, prospector will exit with a code of 0 if it ran successfully, and non-zero if it failed to run.)flagshelpr z-Az--no-autodetectzTurn off auto-detection of frameworks and libraries used. By default, autodetection will be used. To specify manually, see the --uses option.r z-uz--useszA list of one or more libraries or frameworks that the project uses. Possible values are: django, celery, flask. This will be autodetected by default, but if autodetection doesn't work, manually specify them using this flag.rz-Bz --no-blendingzTurn off blending of messages. Prospector will merge together messages from different tools if they represent the same error. Use this option to see all unmerged messages.rz-Dz--doc-warningsz%Include warnings about documentation.rz-Tz--test-warningsz%Also check test modules and packages.r'z--legacy-tool-nameszcOutput deprecated names for tools (pep8, pep257) instead of updated names (pycodestyle, pydocstyle)rz-8z--no-style-warningszeDon't create any warnings about style. This disables the PEP8 tool and similar checks for formatting.rz-mz--member-warningszAttempt to warn when code tries to access an attribute of a class or member of a module which does not exist. This is disabled by default as it tends to be quite inaccurate.rz-qz--quietzqRun but do not output anything to stdout. Useful to suppress output in scripts without sending to a file (via -o)rz-Fz --full-pep8zNEnables every PEP8 warning, so that all PEP8 style violation will be reported.rz--max-line-lengthzgThe maximum line length allowed. This will be set by the strictness if no value is explicitly specifiedrz-Mz--messages-onlyzSOnly output message information (don't output summary information about the checks)rz-Sz--summary-onlyzROnly output summary information about the checks (don'toutput message information)rz-oz--output-formatz%The output format. Valid values are: z, z. This will output to stdout by default, however a target file can be used instead by adding :path-to-output-file, eg, -o json:output.jsonrrLz{Whether to output absolute paths when referencing files in messages. By default, paths will be relative to the project pathrz-tz--toolzA list of tools to run. This lets you set exactly which tools to run. To add extra tools to the defaults, see --with-tool. Possible values are: z/. By default, the following tools will be run: z-wz --with-toolzA list of tools to run in addition to the default tools. To specify all tools explicitly, use the --tool argument. Possible values are %s.z-Wz--without-toolzA list of tools that should not be run. Useful to turn off only a single tool from the defaults. To specify all tools explicitly, use the --tool argument. Possible values are %s.z-Pz --profilea The list of profiles to load. A profile is a certain 'type' of behaviour for prospector, and is represented by a YAML configuration file. Either a full path to the YAML file describing the profile must be provided, or it must be on the profile path (see --profile-path)z--profile-pathzAdditional paths to search for profile files. By default this is the path that prospector will check, and a directory called ".prospector" in the path that prospector will check.z--show-profilea-Include the computed profile in the summary. This will show what prospector has decided the overall profile is once all profiles have been combined and inherited from. This will produce a large output in most cases so is only useful when trying to debug why prospector is not behaving like you expect.z-sz --strictnesszHow strict the checker should be. This affects how harshly the checker will enforce coding guidelines. The default value is "medium", possible values are "veryhigh", "high", "medium", "low" and "verylow".z-Ez--no-external-configa]Determines how prospector should behave when configuration already exists for a tool. By default, prospector will use existing configuration. This flag will cause prospector to ignore existing configuration and use its own settings for every tool. Note that prospector will always use its own config for tools which do not have custom configuration.z--pylint-config-filezThe path to a pylintrc file to use to configure pylint. Prospector will find .pylintrc files in the root of the project, but you can use this option to specify manually where it is.z-Iz--ignore-patternszA list of paths to ignore, as a list of regular expressions. Files and folders will be ignored if their full path contains any of these patterns.z-iz--ignore-pathszA list of file or directory names to ignore. If the complete name matches any of the items in this list, the file or directory (and all subdirectories) will be ignored.z-Xz--die-on-tool-errorzIf a tool fails to run, prospector will try to carry on. Use this flag to cause prospector to die and raise the exception the tool generated. Mostly useful for development on prospector.z--include-tool-stdouta^There are various places where tools will output warnings to stdout/stderr, which breaks parsing of JSON output. Therefore while tols is running, this is suppressed. For developing, it is sometimes useful to see this. This flag will cause stdout/stderr from a tool to be shown as a normal message amongst other warnings. See also --direct-tool-stdoutz--direct-tool-stdoutziSame as --include-tool-stdout, except the output will be printed directly rather than shown as a message.z-pz--pathzThe path to a Python project to inspect. Defaults to PWD if not specified. Note: This command line argument is deprecated and will be removed in a future update. Please use the positional PATH argument instead.)rrrrr%rr&r(r*r+r,zinclude-tool-stdoutzdirect-tool-stdoutr) checkpathzThe path to a Python project to inspect. Defaults to PWD if not specified. If multiple paths are specified, they must all be files (no directories).PATH*)rLmetavarnargs)optionsversionparser_options positional) joinr6rr7rrr/CommandLineSource_VERSION)rIrJrTrRrUs r<r@r@esN !%v(3}%DM*!  D -.0  D H%<  !D. O,  /D< ,-;  =DD -.;  EDL +,A  MDV 12<  WD` /0=  aDl I&C  mDv M*d  wD~ )*-  DH -.l  IDP ,-k  QDX -..yy  1 12233336  YDd   eDn H%%  &..//// &//000    oDFM*&)-6%*,,3G3G)H)HJ  ,-&*.6%*,,3G3G)H)HJ  K(8  ''L  '';  N+B  231   --,  /09  ,-  12*  ..U  --7  H%9  {DDDGP ="     J  %    r=)NrG) pkg_resources setoptconfr/prospector.config.datatyperprospector.formattersrprospector.toolsrr__all__get_distributionrSrXrrFr@r=r<ras333333,,,,,,11111111  )= ), 7 7 ?>>>B,______r=