Relax boilerplate sanity tests.

This will avoid requiring boilerplate for documentation only python files.
This commit is contained in:
Matt Clay 2019-08-09 17:56:44 -07:00
parent 3fac6a0adb
commit 473bd6bb0a
3 changed files with 33 additions and 284 deletions

View file

@ -2,6 +2,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import ast
import sys
@ -21,6 +22,22 @@ def main():
missing = False
break
if missing:
with open(path) as file:
contents = file.read()
# noinspection PyBroadException
try:
node = ast.parse(contents)
# files consisting of only assignments have no need for future import boilerplate
# the only exception would be division during assignment, but we'll overlook that for simplicity
# the most likely case is that of a documentation only python file
if all(isinstance(statement, ast.Assign) for statement in node.body):
missing = False
except Exception: # pylint: disable=broad-except
pass # the compile sanity test will report this error
if missing:
print('%s: missing: from __future__ import (absolute_import, division, print_function)' % path)

View file

@ -2,6 +2,7 @@
from __future__ import (absolute_import, division, print_function)
__metaclass__ = type
import ast
import sys
@ -20,6 +21,21 @@ def main():
missing = False
break
if missing:
with open(path) as file:
contents = file.read()
# noinspection PyBroadException
try:
node = ast.parse(contents)
# files consisting of only assignments have no need for metaclass boilerplate
# the most likely case is that of a documentation only python file
if all(isinstance(statement, ast.Assign) for statement in node.body):
missing = False
except Exception: # pylint: disable=broad-except
pass # the compile sanity test will report this error
if missing:
print('%s: missing: __metaclass__ = type' % path)

View file

@ -422,8 +422,6 @@ lib/ansible/module_utils/network/junos/facts/legacy/base.py future-import-boiler
lib/ansible/module_utils/network/junos/facts/legacy/base.py metaclass-boilerplate
lib/ansible/module_utils/network/junos/junos.py future-import-boilerplate
lib/ansible/module_utils/network/junos/junos.py metaclass-boilerplate
lib/ansible/module_utils/network/junos/utils/utils.py future-import-boilerplate
lib/ansible/module_utils/network/junos/utils/utils.py metaclass-boilerplate
lib/ansible/module_utils/network/meraki/meraki.py future-import-boilerplate
lib/ansible/module_utils/network/meraki/meraki.py metaclass-boilerplate
lib/ansible/module_utils/network/netconf/netconf.py future-import-boilerplate
@ -515,8 +513,6 @@ lib/ansible/module_utils/six/__init__.py no-dict-itervalues
lib/ansible/module_utils/six/__init__.py replace-urlopen
lib/ansible/module_utils/splitter.py future-import-boilerplate
lib/ansible/module_utils/splitter.py metaclass-boilerplate
lib/ansible/module_utils/storage/emc/emc_vnx.py future-import-boilerplate
lib/ansible/module_utils/storage/emc/emc_vnx.py metaclass-boilerplate
lib/ansible/module_utils/storage/hpe3par/hpe3par.py future-import-boilerplate
lib/ansible/module_utils/storage/hpe3par/hpe3par.py metaclass-boilerplate
lib/ansible/module_utils/univention_umc.py future-import-boilerplate
@ -6080,288 +6076,80 @@ lib/ansible/modules/windows/_win_msi.py future-import-boilerplate
lib/ansible/modules/windows/_win_msi.py metaclass-boilerplate
lib/ansible/modules/windows/async_status.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/setup.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_acl.py future-import-boilerplate
lib/ansible/modules/windows/win_acl.py metaclass-boilerplate
lib/ansible/modules/windows/win_acl_inheritance.ps1 pslint:PSAvoidTrailingWhitespace
lib/ansible/modules/windows/win_acl_inheritance.py future-import-boilerplate
lib/ansible/modules/windows/win_acl_inheritance.py metaclass-boilerplate
lib/ansible/modules/windows/win_audit_policy_system.py future-import-boilerplate
lib/ansible/modules/windows/win_audit_policy_system.py metaclass-boilerplate
lib/ansible/modules/windows/win_audit_rule.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_audit_rule.py future-import-boilerplate
lib/ansible/modules/windows/win_audit_rule.py metaclass-boilerplate
lib/ansible/modules/windows/win_certificate_store.ps1 validate-modules:E337
lib/ansible/modules/windows/win_certificate_store.py future-import-boilerplate
lib/ansible/modules/windows/win_certificate_store.py metaclass-boilerplate
lib/ansible/modules/windows/win_chocolatey.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_chocolatey.py future-import-boilerplate
lib/ansible/modules/windows/win_chocolatey.py metaclass-boilerplate
lib/ansible/modules/windows/win_chocolatey_config.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_chocolatey_config.py future-import-boilerplate
lib/ansible/modules/windows/win_chocolatey_config.py metaclass-boilerplate
lib/ansible/modules/windows/win_chocolatey_facts.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_chocolatey_facts.py future-import-boilerplate
lib/ansible/modules/windows/win_chocolatey_facts.py metaclass-boilerplate
lib/ansible/modules/windows/win_chocolatey_feature.py future-import-boilerplate
lib/ansible/modules/windows/win_chocolatey_feature.py metaclass-boilerplate
lib/ansible/modules/windows/win_chocolatey_source.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_chocolatey_source.py future-import-boilerplate
lib/ansible/modules/windows/win_chocolatey_source.py metaclass-boilerplate
lib/ansible/modules/windows/win_command.py future-import-boilerplate
lib/ansible/modules/windows/win_command.py metaclass-boilerplate
lib/ansible/modules/windows/win_copy.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_copy.py future-import-boilerplate
lib/ansible/modules/windows/win_copy.py metaclass-boilerplate
lib/ansible/modules/windows/win_credential.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_credential.ps1 validate-modules:E337
lib/ansible/modules/windows/win_credential.py future-import-boilerplate
lib/ansible/modules/windows/win_credential.py metaclass-boilerplate
lib/ansible/modules/windows/win_defrag.py future-import-boilerplate
lib/ansible/modules/windows/win_defrag.py metaclass-boilerplate
lib/ansible/modules/windows/win_disk_facts.py future-import-boilerplate
lib/ansible/modules/windows/win_disk_facts.py metaclass-boilerplate
lib/ansible/modules/windows/win_disk_image.py future-import-boilerplate
lib/ansible/modules/windows/win_disk_image.py metaclass-boilerplate
lib/ansible/modules/windows/win_dns_client.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_dns_client.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_dns_client.py future-import-boilerplate
lib/ansible/modules/windows/win_dns_client.py metaclass-boilerplate
lib/ansible/modules/windows/win_dns_record.py future-import-boilerplate
lib/ansible/modules/windows/win_dns_record.py metaclass-boilerplate
lib/ansible/modules/windows/win_domain.ps1 pslint:PSAvoidUsingEmptyCatchBlock # Keep
lib/ansible/modules/windows/win_domain.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_domain.py future-import-boilerplate
lib/ansible/modules/windows/win_domain.py metaclass-boilerplate
lib/ansible/modules/windows/win_domain_computer.py future-import-boilerplate
lib/ansible/modules/windows/win_domain_computer.py metaclass-boilerplate
lib/ansible/modules/windows/win_domain_controller.ps1 pslint:PSAvoidGlobalVars # New PR
lib/ansible/modules/windows/win_domain_controller.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_domain_controller.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_domain_controller.py future-import-boilerplate
lib/ansible/modules/windows/win_domain_controller.py metaclass-boilerplate
lib/ansible/modules/windows/win_domain_group.py future-import-boilerplate
lib/ansible/modules/windows/win_domain_group.py metaclass-boilerplate
lib/ansible/modules/windows/win_domain_group_membership.py future-import-boilerplate
lib/ansible/modules/windows/win_domain_group_membership.py metaclass-boilerplate
lib/ansible/modules/windows/win_domain_membership.ps1 pslint:PSAvoidGlobalVars # New PR
lib/ansible/modules/windows/win_domain_membership.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_domain_membership.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_domain_membership.py future-import-boilerplate
lib/ansible/modules/windows/win_domain_membership.py metaclass-boilerplate
lib/ansible/modules/windows/win_domain_user.py future-import-boilerplate
lib/ansible/modules/windows/win_domain_user.py metaclass-boilerplate
lib/ansible/modules/windows/win_dotnet_ngen.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_dotnet_ngen.py future-import-boilerplate
lib/ansible/modules/windows/win_dotnet_ngen.py metaclass-boilerplate
lib/ansible/modules/windows/win_dsc.ps1 pslint:PSAvoidUsingEmptyCatchBlock # Keep
lib/ansible/modules/windows/win_dsc.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_dsc.py future-import-boilerplate
lib/ansible/modules/windows/win_dsc.py metaclass-boilerplate
lib/ansible/modules/windows/win_environment.py future-import-boilerplate
lib/ansible/modules/windows/win_environment.py metaclass-boilerplate
lib/ansible/modules/windows/win_eventlog.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_eventlog.py future-import-boilerplate
lib/ansible/modules/windows/win_eventlog.py metaclass-boilerplate
lib/ansible/modules/windows/win_eventlog_entry.py future-import-boilerplate
lib/ansible/modules/windows/win_eventlog_entry.py metaclass-boilerplate
lib/ansible/modules/windows/win_feature.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_feature.py future-import-boilerplate
lib/ansible/modules/windows/win_feature.py metaclass-boilerplate
lib/ansible/modules/windows/win_file.py future-import-boilerplate
lib/ansible/modules/windows/win_file.py metaclass-boilerplate
lib/ansible/modules/windows/win_file_version.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_file_version.py future-import-boilerplate
lib/ansible/modules/windows/win_file_version.py metaclass-boilerplate
lib/ansible/modules/windows/win_find.ps1 pslint:PSAvoidUsingEmptyCatchBlock # Keep
lib/ansible/modules/windows/win_find.py future-import-boilerplate
lib/ansible/modules/windows/win_find.py metaclass-boilerplate
lib/ansible/modules/windows/win_firewall.py future-import-boilerplate
lib/ansible/modules/windows/win_firewall.py metaclass-boilerplate
lib/ansible/modules/windows/win_firewall_rule.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_firewall_rule.py future-import-boilerplate
lib/ansible/modules/windows/win_firewall_rule.py metaclass-boilerplate
lib/ansible/modules/windows/win_format.py future-import-boilerplate
lib/ansible/modules/windows/win_format.py metaclass-boilerplate
lib/ansible/modules/windows/win_get_url.py future-import-boilerplate
lib/ansible/modules/windows/win_get_url.py metaclass-boilerplate
lib/ansible/modules/windows/win_group.py future-import-boilerplate
lib/ansible/modules/windows/win_group.py metaclass-boilerplate
lib/ansible/modules/windows/win_group_membership.py future-import-boilerplate
lib/ansible/modules/windows/win_group_membership.py metaclass-boilerplate
lib/ansible/modules/windows/win_hostname.py future-import-boilerplate
lib/ansible/modules/windows/win_hostname.py metaclass-boilerplate
lib/ansible/modules/windows/win_hosts.py future-import-boilerplate
lib/ansible/modules/windows/win_hosts.py metaclass-boilerplate
lib/ansible/modules/windows/win_hotfix.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_hotfix.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_hotfix.py future-import-boilerplate
lib/ansible/modules/windows/win_hotfix.py metaclass-boilerplate
lib/ansible/modules/windows/win_http_proxy.ps1 validate-modules:E337
lib/ansible/modules/windows/win_http_proxy.py future-import-boilerplate
lib/ansible/modules/windows/win_http_proxy.py metaclass-boilerplate
lib/ansible/modules/windows/win_iis_virtualdirectory.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_iis_virtualdirectory.py future-import-boilerplate
lib/ansible/modules/windows/win_iis_virtualdirectory.py metaclass-boilerplate
lib/ansible/modules/windows/win_iis_webapplication.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_iis_webapplication.py future-import-boilerplate
lib/ansible/modules/windows/win_iis_webapplication.py metaclass-boilerplate
lib/ansible/modules/windows/win_iis_webapppool.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_iis_webapppool.py future-import-boilerplate
lib/ansible/modules/windows/win_iis_webapppool.py metaclass-boilerplate
lib/ansible/modules/windows/win_iis_webbinding.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_iis_webbinding.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_iis_webbinding.py future-import-boilerplate
lib/ansible/modules/windows/win_iis_webbinding.py metaclass-boilerplate
lib/ansible/modules/windows/win_iis_website.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_iis_website.py future-import-boilerplate
lib/ansible/modules/windows/win_iis_website.py metaclass-boilerplate
lib/ansible/modules/windows/win_inet_proxy.ps1 validate-modules:E337
lib/ansible/modules/windows/win_inet_proxy.py future-import-boilerplate
lib/ansible/modules/windows/win_inet_proxy.py metaclass-boilerplate
lib/ansible/modules/windows/win_lineinfile.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_lineinfile.py future-import-boilerplate
lib/ansible/modules/windows/win_lineinfile.py metaclass-boilerplate
lib/ansible/modules/windows/win_mapped_drive.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_mapped_drive.py future-import-boilerplate
lib/ansible/modules/windows/win_mapped_drive.py metaclass-boilerplate
lib/ansible/modules/windows/win_msg.py future-import-boilerplate
lib/ansible/modules/windows/win_msg.py metaclass-boilerplate
lib/ansible/modules/windows/win_nssm.py future-import-boilerplate
lib/ansible/modules/windows/win_nssm.py metaclass-boilerplate
lib/ansible/modules/windows/win_optional_feature.py future-import-boilerplate
lib/ansible/modules/windows/win_optional_feature.py metaclass-boilerplate
lib/ansible/modules/windows/win_owner.py future-import-boilerplate
lib/ansible/modules/windows/win_owner.py metaclass-boilerplate
lib/ansible/modules/windows/win_package.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_package.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_package.py future-import-boilerplate
lib/ansible/modules/windows/win_package.py metaclass-boilerplate
lib/ansible/modules/windows/win_pagefile.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_pagefile.ps1 pslint:PSUseDeclaredVarsMoreThanAssignments # New PR - bug test_path should be testPath
lib/ansible/modules/windows/win_pagefile.ps1 pslint:PSUseSupportsShouldProcess
lib/ansible/modules/windows/win_pagefile.py future-import-boilerplate
lib/ansible/modules/windows/win_pagefile.py metaclass-boilerplate
lib/ansible/modules/windows/win_partition.py future-import-boilerplate
lib/ansible/modules/windows/win_partition.py metaclass-boilerplate
lib/ansible/modules/windows/win_path.py future-import-boilerplate
lib/ansible/modules/windows/win_path.py metaclass-boilerplate
lib/ansible/modules/windows/win_pester.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_pester.py future-import-boilerplate
lib/ansible/modules/windows/win_pester.py metaclass-boilerplate
lib/ansible/modules/windows/win_ping.py future-import-boilerplate
lib/ansible/modules/windows/win_ping.py metaclass-boilerplate
lib/ansible/modules/windows/win_power_plan.py future-import-boilerplate
lib/ansible/modules/windows/win_power_plan.py metaclass-boilerplate
lib/ansible/modules/windows/win_product_facts.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_product_facts.py future-import-boilerplate
lib/ansible/modules/windows/win_product_facts.py metaclass-boilerplate
lib/ansible/modules/windows/win_psexec.ps1 validate-modules:E337
lib/ansible/modules/windows/win_psexec.py future-import-boilerplate
lib/ansible/modules/windows/win_psexec.py metaclass-boilerplate
lib/ansible/modules/windows/win_psmodule.py future-import-boilerplate
lib/ansible/modules/windows/win_psmodule.py metaclass-boilerplate
lib/ansible/modules/windows/win_psrepository.py future-import-boilerplate
lib/ansible/modules/windows/win_psrepository.py metaclass-boilerplate
lib/ansible/modules/windows/win_rabbitmq_plugin.ps1 pslint:PSAvoidUsingInvokeExpression
lib/ansible/modules/windows/win_rabbitmq_plugin.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_rabbitmq_plugin.py future-import-boilerplate
lib/ansible/modules/windows/win_rabbitmq_plugin.py metaclass-boilerplate
lib/ansible/modules/windows/win_rds_cap.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_rds_cap.py future-import-boilerplate
lib/ansible/modules/windows/win_rds_cap.py metaclass-boilerplate
lib/ansible/modules/windows/win_rds_rap.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_rds_rap.py future-import-boilerplate
lib/ansible/modules/windows/win_rds_rap.py metaclass-boilerplate
lib/ansible/modules/windows/win_rds_settings.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_rds_settings.py future-import-boilerplate
lib/ansible/modules/windows/win_rds_settings.py metaclass-boilerplate
lib/ansible/modules/windows/win_reboot.py future-import-boilerplate
lib/ansible/modules/windows/win_reboot.py metaclass-boilerplate
lib/ansible/modules/windows/win_reg_stat.py future-import-boilerplate
lib/ansible/modules/windows/win_reg_stat.py metaclass-boilerplate
lib/ansible/modules/windows/win_regedit.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_regedit.py future-import-boilerplate
lib/ansible/modules/windows/win_regedit.py metaclass-boilerplate
lib/ansible/modules/windows/win_region.ps1 pslint:PSAvoidUsingEmptyCatchBlock # Keep
lib/ansible/modules/windows/win_region.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_region.py future-import-boilerplate
lib/ansible/modules/windows/win_region.py metaclass-boilerplate
lib/ansible/modules/windows/win_regmerge.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_regmerge.py future-import-boilerplate
lib/ansible/modules/windows/win_regmerge.py metaclass-boilerplate
lib/ansible/modules/windows/win_robocopy.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_robocopy.py future-import-boilerplate
lib/ansible/modules/windows/win_robocopy.py metaclass-boilerplate
lib/ansible/modules/windows/win_route.py future-import-boilerplate
lib/ansible/modules/windows/win_route.py metaclass-boilerplate
lib/ansible/modules/windows/win_say.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_say.py future-import-boilerplate
lib/ansible/modules/windows/win_say.py metaclass-boilerplate
lib/ansible/modules/windows/win_scheduled_task.py future-import-boilerplate
lib/ansible/modules/windows/win_scheduled_task.py metaclass-boilerplate
lib/ansible/modules/windows/win_scheduled_task_stat.py future-import-boilerplate
lib/ansible/modules/windows/win_scheduled_task_stat.py metaclass-boilerplate
lib/ansible/modules/windows/win_security_policy.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_security_policy.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_security_policy.py future-import-boilerplate
lib/ansible/modules/windows/win_security_policy.py metaclass-boilerplate
lib/ansible/modules/windows/win_service.py future-import-boilerplate
lib/ansible/modules/windows/win_service.py metaclass-boilerplate
lib/ansible/modules/windows/win_share.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_share.py future-import-boilerplate
lib/ansible/modules/windows/win_share.py metaclass-boilerplate
lib/ansible/modules/windows/win_shell.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_shell.py future-import-boilerplate
lib/ansible/modules/windows/win_shell.py metaclass-boilerplate
lib/ansible/modules/windows/win_shortcut.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_shortcut.py future-import-boilerplate
lib/ansible/modules/windows/win_shortcut.py metaclass-boilerplate
lib/ansible/modules/windows/win_snmp.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_snmp.py future-import-boilerplate
lib/ansible/modules/windows/win_snmp.py metaclass-boilerplate
lib/ansible/modules/windows/win_stat.py future-import-boilerplate
lib/ansible/modules/windows/win_stat.py metaclass-boilerplate
lib/ansible/modules/windows/win_tempfile.py future-import-boilerplate
lib/ansible/modules/windows/win_tempfile.py metaclass-boilerplate
lib/ansible/modules/windows/win_template.py future-import-boilerplate
lib/ansible/modules/windows/win_template.py metaclass-boilerplate
lib/ansible/modules/windows/win_timezone.py future-import-boilerplate
lib/ansible/modules/windows/win_timezone.py metaclass-boilerplate
lib/ansible/modules/windows/win_toast.py future-import-boilerplate
lib/ansible/modules/windows/win_toast.py metaclass-boilerplate
lib/ansible/modules/windows/win_unzip.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_unzip.ps1 pslint:PSUseApprovedVerbs
lib/ansible/modules/windows/win_unzip.py future-import-boilerplate
lib/ansible/modules/windows/win_unzip.py metaclass-boilerplate
lib/ansible/modules/windows/win_updates.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_updates.py future-import-boilerplate
lib/ansible/modules/windows/win_updates.py metaclass-boilerplate
lib/ansible/modules/windows/win_uri.ps1 pslint:PSAvoidUsingEmptyCatchBlock # Keep
lib/ansible/modules/windows/win_uri.py future-import-boilerplate
lib/ansible/modules/windows/win_uri.py metaclass-boilerplate
lib/ansible/modules/windows/win_user.py future-import-boilerplate
lib/ansible/modules/windows/win_user.py metaclass-boilerplate
lib/ansible/modules/windows/win_user_profile.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_user_profile.ps1 validate-modules:E337
lib/ansible/modules/windows/win_user_profile.py future-import-boilerplate
lib/ansible/modules/windows/win_user_profile.py metaclass-boilerplate
lib/ansible/modules/windows/win_user_right.py future-import-boilerplate
lib/ansible/modules/windows/win_user_right.py metaclass-boilerplate
lib/ansible/modules/windows/win_wait_for.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_wait_for.py future-import-boilerplate
lib/ansible/modules/windows/win_wait_for.py metaclass-boilerplate
lib/ansible/modules/windows/win_wait_for_process.py future-import-boilerplate
lib/ansible/modules/windows/win_wait_for_process.py metaclass-boilerplate
lib/ansible/modules/windows/win_wakeonlan.py future-import-boilerplate
lib/ansible/modules/windows/win_wakeonlan.py metaclass-boilerplate
lib/ansible/modules/windows/win_webpicmd.ps1 pslint:PSAvoidUsingInvokeExpression
lib/ansible/modules/windows/win_webpicmd.py future-import-boilerplate
lib/ansible/modules/windows/win_webpicmd.py metaclass-boilerplate
lib/ansible/modules/windows/win_whoami.py future-import-boilerplate
lib/ansible/modules/windows/win_whoami.py metaclass-boilerplate
lib/ansible/modules/windows/win_xml.ps1 pslint:PSCustomUseLiteralPath
lib/ansible/modules/windows/win_xml.py future-import-boilerplate
lib/ansible/modules/windows/win_xml.py metaclass-boilerplate
lib/ansible/parsing/vault/__init__.py pylint:blacklisted-name
lib/ansible/playbook/base.py pylint:blacklisted-name
lib/ansible/playbook/helpers.py pylint:blacklisted-name
@ -6677,8 +6465,6 @@ test/integration/targets/collections/collection_root_user/ansible_collections/te
test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/uses_leaf_mu_granular_import.py metaclass-boilerplate
test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/uses_leaf_mu_module_import_from.py future-import-boilerplate
test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/uses_leaf_mu_module_import_from.py metaclass-boilerplate
test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/win_selfcontained.py future-import-boilerplate
test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/modules/win_selfcontained.py metaclass-boilerplate
test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/test/mytests.py future-import-boilerplate
test/integration/targets/collections/collection_root_user/ansible_collections/testns/testcoll/plugins/test/mytests.py metaclass-boilerplate
test/integration/targets/collections/collections/ansible_collections/testns/content_adj/plugins/modules/contentadjmodule.py future-import-boilerplate
@ -6740,81 +6526,11 @@ test/integration/targets/module_utils/library/test_failure.py future-import-boil
test/integration/targets/module_utils/library/test_failure.py metaclass-boilerplate
test/integration/targets/module_utils/library/test_override.py future-import-boilerplate
test/integration/targets/module_utils/library/test_override.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/a/b/c/d/e/f/g/h/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/a/b/c/d/e/f/g/h/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/bar0/foo.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/bar0/foo.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/bar0/foo.py pylint:blacklisted-name
test/integration/targets/module_utils/module_utils/bar1/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/bar1/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/bar2/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/bar2/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/baz1/one.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/baz1/one.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/baz2/one.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/baz2/one.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/facts.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/facts.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/foo.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/foo.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/foo.py pylint:blacklisted-name
test/integration/targets/module_utils/module_utils/foo0.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/foo0.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/foo1.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/foo1.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/foo2.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/foo2.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/qux1/quux.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/qux1/quux.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/qux2/quux.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/qux2/quux.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/qux2/quuz.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/qux2/quuz.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/service.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/service.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam1/ham/eggs/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam1/ham/eggs/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam2/ham/eggs/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam2/ham/eggs/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam3/ham/bacon.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam3/ham/bacon.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam4/ham/bacon.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam4/ham/bacon.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam5/ham/bacon.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam5/ham/bacon.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam5/ham/eggs.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam5/ham/eggs.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam6/ham/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam6/ham/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam7/ham/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam7/ham/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam7/ham/bacon.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam7/ham/bacon.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam8/ham/__init__.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam8/ham/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/spam8/ham/bacon.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/spam8/ham/bacon.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/sub/bam.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/sub/bam.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/sub/bam/bam.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/sub/bam/bam.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/sub/bar/__init__.py pylint:blacklisted-name
test/integration/targets/module_utils/module_utils/sub/bar/bam.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/sub/bar/bam.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/sub/bar/bar.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/sub/bar/bar.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/sub/bar/bar.py pylint:blacklisted-name
test/integration/targets/module_utils/module_utils/yak/zebra/foo.py future-import-boilerplate
test/integration/targets/module_utils/module_utils/yak/zebra/foo.py metaclass-boilerplate
test/integration/targets/module_utils/module_utils/yak/zebra/foo.py pylint:blacklisted-name
test/integration/targets/module_utils/other_mu_dir/a/b/c/d/e/f/g/h/__init__.py future-import-boilerplate
test/integration/targets/module_utils/other_mu_dir/a/b/c/d/e/f/g/h/__init__.py metaclass-boilerplate
test/integration/targets/module_utils/other_mu_dir/facts.py future-import-boilerplate
test/integration/targets/module_utils/other_mu_dir/facts.py metaclass-boilerplate
test/integration/targets/module_utils/other_mu_dir/json_utils.py future-import-boilerplate
test/integration/targets/module_utils/other_mu_dir/json_utils.py metaclass-boilerplate
test/integration/targets/module_utils/other_mu_dir/mork.py future-import-boilerplate
test/integration/targets/module_utils/other_mu_dir/mork.py metaclass-boilerplate
test/integration/targets/old_style_modules_posix/library/helloworld.sh shebang
test/integration/targets/pause/test-pause.py future-import-boilerplate
test/integration/targets/pause/test-pause.py metaclass-boilerplate