관리-도구
편집 파일: docstyle.cpython-311.pyc
� �܋f � � � d dl mZ d dlZd dlmZ d dlmZ d dlmZ d dl m Z d dlmZ erd dl mZ G d � d ej � � Zdd�ZdS )� )�annotationsN)� TYPE_CHECKING)�nodes)�checkers)�only_required_for_messages)�HIGH)�PyLinterc �h � e Zd ZdZdZddd�Z edd� � dd�� � Zdd�Zdd�Z e Z dd�ZdS )�DocStringStyleCheckerz.Checks format of docstrings based on PEP 0257.�docstyle)z2Bad docstring quotes in %s, expected """, given %s�bad-docstring-quotesz9Used when a docstring does not have triple double quotes.)z First line empty in %s docstring�docstring-first-line-emptyz@Used when a blank line is found at the beginning of a docstring.)�C0198�C0199r r �node�nodes.Module�return�Nonec �2 � | � d|� � d S )N�module��_check_docstring��selfr s �k/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pylint/extensions/docstyle.py�visit_modulez"DocStringStyleChecker.visit_module&