Skip to content
Permalink
Browse files

Suppress api doc warnings for old classes

  • Loading branch information
m-kuhn committed Dec 21, 2018
1 parent 1d1a668 commit 2ad870b95a44bd189388a8998d0532cf2ae73625
Showing with 84 additions and 3 deletions.
  1. +84 −3 tests/code_layout/acceptable_missing_doc.py
@@ -463,7 +463,32 @@
"pal::PolygonCostCalculator": ['PolygonCostCalculator(LabelPosition *lp)', 'getCost()', 'getLabel()', 'update(pal::PointSet *pset)'],
"pal::PriorityQueue": ['decreaseKey(int key)', 'downheap(int id)', 'getBest()', 'getId(int key)', 'getSize()', 'getSizeByPos()', 'insert(int key, double p)', 'isIn(int key)', 'print()', 'remove(int key)', 'setPriority(int key, double new_p)', 'sort()', 'upheap(int key)'],
"pal::Problem": ['compareLabelArea(pal::LabelPosition *l1, pal::LabelPosition *l2)', 'compute_feature_cost(SubPart *part, int feat_id, int label_id, int *nbOverlap)', 'compute_subsolution_cost(SubPart *part, int *s, int *nbOverlap)', 'getFeatureCandidate(int fi, int ci)', 'getFeatureCandidateCount(int i)', 'getNumFeatures()', 'getSolution(bool returnInactive)', 'getStats()', 'init_sol_falp()', 'initialization()', 'popmusic_tabu(SubPart *part)', 'reduce()', 'subPart(int r, int featseed, int *isIn)'],
"pal::Util": ['unmulti(const GEOSGeometry *the_geom)']
"pal::Util": ['unmulti(const GEOSGeometry *the_geom)'],
"QgsGeometryLineIntersectionCheck": ["QgsGeometryLineIntersectionCheck(QgsGeometryCheckContext *context, const QVariantMap &configuration)", "factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryDangleCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryDegeneratePolygonCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryCheckerUtils": [],
"QgsGeometryContainedCheckError": [],
"QgsGeometryHoleCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryDuplicateCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometrySelfContactCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryTypeCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryDuplicateCheckError": [],
"QgsGeometryLineLayerIntersectionCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometrySegmentLengthCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryTypeCheckError": [],
"QgsGeometrySliverPolygonCheck": [],
"QgsGeometryAreaCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryChecker": [],
"QgsGeometryFollowBoundariesCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryMultipartCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometrySelfIntersectionCheckError": [],
"QgsGeometryGapCheckError": [],
"QgsGeometryPointCoveredByLineCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometrySelfIntersectionCheck": [],
"QgsGeometryContainedCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryPointInPolygonCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"],
"QgsGeometryDuplicateNodesCheck": ["factoryDescription()", "factoryId()", "factoryCompatibleGeometryTypes()", "factoryIsCompatible(QgsVectorLayer *layer)", "ResolutionMethod", "factoryCheckType()"]
}

ACCEPTABLE_MISSING_ADDED_NOTE = [
@@ -1333,7 +1358,40 @@
"QgsExpressionNodeLiteral",
"QgsExpressionNodeUnaryOperator",
"QgsStaticExpressionFunction",
"QgsExpressionNodeCondition::WhenThen"
"QgsExpressionNodeCondition::WhenThen",
"QgsGeometryChecker",
"QgsGeometryGapCheckError",
"QgsGeometrySelfIntersectionCheckError",
"QgsGeometryDangleCheck",
"QgsGeometryCheckerUtils::LayerFeatures::iterator",
"QgsGeometrySelfIntersectionCheck",
"QgsGeometryDegeneratePolygonCheck",
"QgsGeometryIsValidCheckError",
"QgsGeometryPointInPolygonCheck",
"QgsGeometryDuplicateCheckError",
"QgsGeometryOverlapCheckError",
"QgsGeometryFollowBoundariesCheck",
"QgsGeometryContainedCheck",
"QgsGeometryDuplicateNodesCheck",
"QgsGeometrySegmentLengthCheck",
"QgsGeometryGapCheck",
"QgsGeometryCheckFactoryT",
"QgsGeometryHoleCheck",
"QgsGeometryDuplicateCheck",
"QgsGeometryCheckerUtils::LayerFeature",
"QgsGeometryCheckerUtils::LayerFeatures",
"QgsGeometrySelfContactCheck",
"QgsGeometryOverlapCheck",
"QgsGeometryAngleCheck",
"QgsGeometryPointCoveredByLineCheck",
"QgsGeometryLineIntersectionCheck",
"QgsGeometryTypeCheckError",
"QgsGeometryLineLayerIntersectionCheck",
"QgsGeometrySliverPolygonCheck",
"QgsGeometryContainedCheckError",
"QgsGeometryAreaCheck",
"QgsGeometryTypeCheck",
"QgsGeometryMultipartCheck"
]

ACCEPTABLE_MISSING_BRIEF = ['QgsBrushStyleComboBox',
@@ -1609,7 +1667,30 @@
'QgsCptCityBrowserModel',
'QgsSmartGroupEditorDialog',
'QgsHeatmapRendererWidget',
'QgsStyleManagerDialog']
'QgsStyleManagerDialog',
'QgsGeometrySelfIntersectionCheckError',
'QgsGeometryDangleCheck',
'QgsGeometrySelfIntersectionCheck',
'QgsGeometryDegeneratePolygonCheck',
'QgsGeometryPointInPolygonCheck',
'QgsGeometryDuplicateCheckError',
'QgsGeometryFollowBoundariesCheck',
'QgsGeometryContainedCheck',
'QgsGeometryDuplicateNodesCheck',
'QgsGeometrySegmentLengthCheck',
'QgsGeometryHoleCheck',
'QgsGeometryDuplicateCheck',
'QgsGeometrySelfContactCheck',
'QgsGeometryAngleCheck',
'QgsGeometryPointCoveredByLineCheck',
'QgsGeometryLineIntersectionCheck',
'QgsGeometryTypeCheckError',
'QgsGeometryLineLayerIntersectionCheck',
'QgsGeometrySliverPolygonCheck',
'QgsGeometryContainedCheckError',
'QgsGeometryAreaCheck',
'QgsGeometryTypeCheck',
'QgsGeometryMultipartCheck']


if __name__ == '__main__':

0 comments on commit 2ad870b

Please sign in to comment.
You can’t perform that action at this time.