32f820bcaf
I just had to -1 a proposed commit to Tempest which was missing this, and found that 4 files in our tree didn't have it. We should enforce that all the python files have this header when they are in tree. Skip files < 10 lines, which is needed for empty file support, and to not bail on our Okay doctests. Updated to include a check for an Apache looking LICENSE file as a precondition. Change-Id: Id3f9b6099301f998ce3185e9fd0ed6907e6e71f0
51 lines
1.5 KiB
INI
51 lines
1.5 KiB
INI
[metadata]
|
|
name = hacking
|
|
author = OpenStack
|
|
author-email = openstack-dev@lists.openstack.org
|
|
summary = OpenStack Hacking Guidline Enforcement
|
|
description-file =
|
|
HACKING.rst
|
|
home-page = http://github.com/openstack-dev/hacking
|
|
classifier =
|
|
Development Status :: 4 - Beta
|
|
Environment :: Console
|
|
Environment :: OpenStack
|
|
Intended Audience :: Developers
|
|
Intended Audience :: Information Technology
|
|
License :: OSI Approved :: Apache Software License
|
|
Operating System :: OS Independent
|
|
Programming Language :: Python
|
|
|
|
[files]
|
|
packages =
|
|
hacking
|
|
|
|
[global]
|
|
setup-hooks =
|
|
pbr.hooks.setup_hook
|
|
|
|
[entry_points]
|
|
flake8.extension =
|
|
H000 = hacking.core:ProxyChecks
|
|
H101 = hacking.core:hacking_todo_format
|
|
H102 = hacking.core:hacking_has_license
|
|
H201 = hacking.core:hacking_except_format
|
|
H202 = hacking.core:hacking_except_format_assert
|
|
H301 = hacking.core:hacking_import_rules
|
|
H306 = hacking.core:hacking_import_alphabetical
|
|
H401 = hacking.core:hacking_docstring_start_space
|
|
H402 = hacking.core:hacking_docstring_one_line
|
|
H403 = hacking.core:hacking_docstring_multiline_end
|
|
H404 = hacking.core:hacking_docstring_multiline_start
|
|
H601 = hacking.core:hacking_no_cr
|
|
H700 = hacking.core:hacking_localization_strings
|
|
H801 = hacking.core:OnceGitCheckCommitTitleBug
|
|
H802 = hacking.core:OnceGitCheckCommitTitleLength
|
|
H901 = hacking.core:hacking_is_not
|
|
H902 = hacking.core:hacking_not_in
|
|
|
|
[egg_info]
|
|
tag_build =
|
|
tag_date = 0
|
|
tag_svn_revision = 0
|