跳转到主要内容

最近更新的页面

no-main-display

Ansible 用户指南 Dev Guide

As of Ansible 2.8, Display should no longer be imported from __main__. Display is now a singlet...

由 壳壳虫 更新于 1 周前

no-illegal-filenames

Ansible 用户指南 Dev Guide

Files and directories should not contain illegal characters or names so that Ansible can be check...

由 壳壳虫 更新于 1 周前

no-get-exception

Ansible 用户指南 Dev Guide

We created a function, ansible.module_utils.pycompat24.get_exception to help retrieve exceptions...

由 壳壳虫 更新于 1 周前

no-dict-itervalues

Ansible 用户指南 Dev Guide

The dict.itervalues method has been removed in Python 3. There are two recommended alternatives:...

由 壳壳虫 更新于 1 周前

no-dict-iterkeys

Ansible 用户指南 Dev Guide

The dict.iterkeys method has been removed in Python 3. Use the following instead: for KEY in DIC...

由 壳壳虫 更新于 1 周前

no-dict-iteritems

Ansible 用户指南 Dev Guide

The dict.iteritems method has been removed in Python 3. There are two recommended alternatives: ...

由 壳壳虫 更新于 1 周前

no-basestring

Ansible 用户指南 Dev Guide

Do not use isinstance(s, basestring) as basestring has been removed in Python3. You can import ...

由 壳壳虫 更新于 1 周前

no-assert

Ansible 用户指南 Dev Guide

Do not use assert in production Ansible python code. When running Python with optimizations, Pyt...

由 壳壳虫 更新于 1 周前

mypy

Ansible 用户指南 Dev Guide

The mypy static type checker is used to check the following code against each Python version sup...

由 壳壳虫 更新于 1 周前

line-endings

Ansible 用户指南 Dev Guide

All files must use \n for line endings instead of \r\n.

由 壳壳虫 更新于 1 周前

integration-aliases

Ansible 用户指南 Dev Guide

Integration tests are executed by ansible-test and reside in directories under test/integration...

由 壳壳虫 更新于 1 周前

Sanity Tests

Ansible 用户指南 Dev Guide

The following sanity tests are available as --test options for ansible-test sanity when testing...

由 壳壳虫 更新于 1 周前

import

Ansible 用户指南 Dev Guide

Ansible allows unchecked imports<allowed_unchecked_imports> of some libraries from specific dire...

由 壳壳虫 更新于 1 周前

ignores

Ansible 用户指南 Dev Guide

Sanity tests for individual files can be skipped, and specific errors can be ignored. When to Ign...

由 壳壳虫 更新于 1 周前

future-import-boilerplate

Ansible 用户指南 Dev Guide

Most Python files should include the following boilerplate at the top of the file, right after th...

由 壳壳虫 更新于 1 周前

empty-init

Ansible 用户指南 Dev Guide

The __init__.py files under the following directories must be empty. For some of these (modules ...

由 壳壳虫 更新于 1 周前

deprecated-config

Ansible 用户指南 Dev Guide

DOCUMENTATION config is scheduled for removal

由 壳壳虫 更新于 1 周前

compile

Ansible 用户指南 Dev Guide

All Python source files must successfully compile using all supported Python versions. [!NOTE] Th...

由 壳壳虫 更新于 1 周前

changelog

Ansible 用户指南 Dev Guide

Basic linting of changelog fragments with antsibull-changelog lint. One or more of the following ...

由 壳壳虫 更新于 1 周前

boilerplate

Ansible 用户指南 Dev Guide

Python files should include the following boilerplate: from __future__ import annotations

由 壳壳虫 更新于 1 周前