diff options
Diffstat (limited to 'repoman/lib/repoman/modules/linechecks/whitespace/__init__.py')
-rw-r--r-- | repoman/lib/repoman/modules/linechecks/whitespace/__init__.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/repoman/lib/repoman/modules/linechecks/whitespace/__init__.py b/repoman/lib/repoman/modules/linechecks/whitespace/__init__.py new file mode 100644 index 000000000..716c5129c --- /dev/null +++ b/repoman/lib/repoman/modules/linechecks/whitespace/__init__.py @@ -0,0 +1,28 @@ +# Copyright 2015-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Whitespace plug-in module for repoman LineChecks. +Performs checks for useless whitespace in ebuilds.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'do', + 'description': doc, + 'provides':{ + 'whitespace-check': { + 'name': "whitespace", + 'sourcefile': "whitespace", + 'class': "EbuildWhitespace", + 'description': doc, + }, + 'blankline-check': { + 'name': "blankline", + 'sourcefile': "blank", + 'class': "EbuildBlankLine", + 'description': doc, + }, + }, + 'version': 1, +} + |