ansible/docs/docsite/rst/dev_guide/testing/sanity/boilerplate.rst
Toshio Kuratomi 146a7f8ff6 Split the metaclass == type and from future boilerplate code.
The metaclass boilerplate is safe to apply en masse.  The future import
boilerplate needs code to be inspected to be sure that there aren't any
py2isms that need to be fixed.  Split these two checks so that we can
fix them independently

Be explicit about which files are grandfathered so we can fix them up one by one
2019-07-10 22:17:35 -07:00

247 B

orphan

Sanity Tests » boilerplate

Most Python files should include the following boilerplate:

from __future__ import (absolute_import, division, print_function)
__metaclass__ = type