它不仅仅是一个让你烦恼的 linter!
Pylint_.. _Pylint: https://pylint.readthedocs.io/
.. 这在文档内部用于恢复到引言的开头
.. image:: https://github.com/pylint-dev/pylint/actions/workflows/tests.yaml/badge.svg?branch=main
:target: https://github.com/pylint-dev/pylint/actions
.. image:: https://codecov.io/gh/pylint-dev/pylint/branch/main/graph/badge.svg?token=ZETEzayrfk
:target: https://codecov.io/gh/pylint-dev/pylint
.. image:: https://img.shields.io/pypi/v/pylint.svg
:alt: PyPI 包版本
:target: https://pypi.python.org/pypi/pylint
.. image:: https://readthedocs.org/projects/pylint/badge/?version=latest
:target: https://pylint.readthedocs.io/en/latest/?badge=latest
:alt: 文档状态
.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/ambv/black
.. image:: https://img.shields.io/badge/linting-pylint-yellowgreen
:target: https://github.com/pylint-dev/pylint
.. image:: https://results.pre-commit.ci/badge/github/pylint-dev/pylint/main.svg
:target: https://results.pre-commit.ci/latest/github/pylint-dev/pylint/main
:alt: pre-commit.ci 状态
.. image:: https://bestpractices.coreinfrastructure.org/projects/6328/badge
:target: https://bestpractices.coreinfrastructure.org/projects/6328
:alt: CII 最佳实践
.. image:: https://img.shields.io/ossf-scorecard/github.com/PyCQA/pylint?label=openssf%20scorecard&style=flat
:target: https://api.securityscorecards.dev/projects/github.com/PyCQA/pylint
:alt: OpenSSF Scorecard
.. image:: https://img.shields.io/discord/825463413634891776.svg :target: https://discord.gg/qYxpadCgkx :alt: Discord
Pylint 是一个用于 Python 2 或 3 的静态代码分析器_。最新版本支持 Python
3.10.0 及以上版本。
.. _静态代码分析器: https://en.wikipedia.org/wiki/Static_code_analysis
Pylint 在不实际运行代码的情况下对其进行分析。它会检查错误、强制执行编码规范、查找代码坏味道_,并可以就如何重构代码提出建议。
.. _代码坏味道: https://martinfowler.com/bliki/CodeSmell.html
..
暂无开放 Issues,或尚未同步最近议题。