コード例 #1
0
def _all_categories():
    """Return the set of all categories used by check-webkit-style."""
    # Take the union across all processors.
    categories = CommonCategories.union(CppProcessor.categories)

    # FIXME: Consider adding all of the pep8 categories.  Since they
    #        are not too meaningful for documentation purposes, for
    #        now we add only the categories needed for the unit tests
    #        (which validate the consistency of the configuration
    #        settings against the known categories, etc).
    categories = categories.union(["pep8/W191", "pep8/W291"])

    return categories
コード例 #2
0
def style_categories():
    """Return the set of all categories used by check-webkit-style."""
    # Take the union across all processors.
    return CommonCategories.union(CppProcessor.categories)
コード例 #3
0
ファイル: checker.py プロジェクト: flwh/Alcatel_OT_985_kernel
def style_categories():
    """Return the set of all categories used by check-webkit-style."""
    # Take the union across all processors.
    return CommonCategories.union(CppProcessor.categories)