.. image:: [] :target: []
.. image:: [] :alt: AppVeyor Build Status :target: []
.. image:: [] :target: []
.. image:: [] :alt: Pypi Package version :target: []
.. image:: [] :target: [] :alt: Documentation Status
.. image:: [***] :target: https://github.com/ambv/black
.. |tideliftlogo| image:: doc/media/Tidelift_Logos_RGB_Tidelift_Shorthand_On-White_small.png :width: 75 :height: 60 :alt: Tidelift
.. list-table:: :widths: 10 100
Tidelift Subscription_. Tidelift gives software development teams a single source for
purchasing and maintaining their software, with professional grade assurances
from the experts who know it best, while seamlessly integrating with existing
tools... _Tidelift Subscription: [***]
It's not just a linter that annoys you!
Pylint is a Python static code analysis tool which looks for programming errors, helps enforcing a coding standard, sniffs for code smells and offers simple refactoring suggestions.
It's highly configurable, having special pragmas to control its errors and warnings from within your code, as well as from an extensive configuration file. It is also possible to write your own plugins for adding your own checks or for extending pylint in one way or another.
It's a free software distributed under the GNU General Public Licence unless otherwise specified.
Development is hosted on GitHub: https://github.com/PyCQA/pylint/
You can use the *** mailing list to discuss about Pylint. Subscribe at [] or read the archives at []
Pull requests are amazing and most welcome.
Pylint can be simply installed by running::
pip install pylint
If you are using Python 3.6+, upgrade to get full support for your version::
pip install pylint --upgrade
If you want to install from a source distribution, extract the tarball and run the following command ::
python setup.py install
Do make sure to do the same for astroid, which is used internally by pylint.
For debian and rpm packages, use your usual tools according to your Linux distribution.
More information about installation and available distribution format can be found here_.
The documentation lives at [***]
Pylint is shipped with following additional commands:
We use tox_ for running the test suite. You should be able to install it with::
pip install tox pytest
To run the test suite for a particular Python version, you can do::
tox -e py37
To run individual tests with tox, you can do::
tox -e py37 -- -k name_of_the_test
We use pytest_ for testing pylint, which you can use without using tox for a faster development cycle.
If you want to run tests on a specific portion of the code with pytest_, (pytest-cov_) and your local python version::
# ( pip install pytest-cov ) # Everything: python3 -m pytest tests/ # Everything in tests/message with coverage for the relevant code: python3 -m pytest tests/message/ --cov=pylin***ssage coverage html # Only the functional test "missing_kwoa_py3": python3 -m pytest "tests/test_functional.py::test_functional[missing_kwoa_py3]"
Do not forget to clone astroid_ and install the last version::
git clone https://github.com/PyCQA/astroid.git # From source python3 astroid/setup.py build sdist pip3 install astroid/dist/astroid*.tar.gz # Using an editable installation cd astroid python3 -m pip install -e .
For more detailed information, check the documentation.
.. _here: [] .. _tox: [] .. _pytest: [] .. _pytest-cov: [] .. _astroid: https://github.com/PyCQA/astroid
pylint is, with a few exceptions listed below, GPLv2 <COPYING>_.
The icon files are licensed under the CC BY-SA 4.0 <https://creativecommons.org/licenses/by-sa/4.0/>_ license:
doc/logo.png <doc/logo.png>_doc/logo.svg <doc/logo.svg>_您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务