Your IP : 216.73.216.60
B
AWv\z � @ s� d Z ddlmZ ddlZddlZddlZddlZyddlZW n ek
rT dZY nX ddl Z ddl
Z
ddlZddlZddl
mZ ddlmZ ddlmZ ddlmZ ddlmZ dd lmZ dd
lmZ ddlmZ ddlmZ ddlmZ ejZd
d� Zdd� Zdd� Zdddddddddddddd gifd!d"d#d$�
Z e!d%�d&d'�Z"edk �rdG d(d)� d)ej#�Z$G d*d+� d+ej%ej&ej'ej(�Z)d,d-� Z*d.d/� Z+d0d1� Z,G d2d3� d3e-�Z.d4d5� Z/ej0d6d7� �Z1G d8d9� d9�Z2d:d;� Z3d<d=� Z4e5d>k�r�e2e j6d?d� � dS )@a %prog [options] modules_or_packages
Check that module(s) satisfy a coding standard (and more !).
%prog --help
Display this help message and exit.
%prog --help-msg <msg-id>[,<msg-id>]
Display help messages about given message identifiers and exit.
� )�print_functionN)�version)�modutils)�checkers)�
interfaces)� reporters)�
exceptions)�utils)�config)�nodesc C s2 | j | j| j| j| j| jf}| j| j|| j| j fS )N)
�abspath�path�module�obj�line�column�msg_idZsymbol�msg�
confidence)�message�location� r �</opt/alt/python37/lib/python3.7/site-packages/pylint/lint.py�
_get_new_args\ s r c C sp t j�t j�| ��}t j�|�s,t j�|�}x>t j�t j�|d��sH|S |}t j�|�}||kr.t �� S q.W d S )Nz__init__.py) �osr
�realpath�
expanduser�isdir�dirname�exists�join�getcwd)�filepathr Zold_dirnamer r r �_get_python_pathh s r# c C s� i }t �� }xt| D ]l}|�di �}|�|� xP|�� D ]D\}}||krP|||<