Lines Matching refs:linted
43 """An exception thrown when we've found duplicate pkg.linted* keys."""
237 # marked as pkg.linted. If one of those checks
241 if engine.linted(action=action,
244 "from {check} on linted action "
266 In order for proper 'pkg.linted.*' functionality, checker methods that
336 if engine.linted(manifest=manifest,
339 "from {check} on linted manifest "
382 def linted(manifest=None, action=None, lint_id=None):
383 """Determine whether a given action or manifest is marked as linted.
385 the attribute starts with "pkg.linted" and is a substring of
386 pkg.linted.<lint_id> anchored at the start of the string.
388 So, pkg.linted.foo matches checks for foo, foo001 foo004.5, etc.
391 pkg.lint.engine.<LintEngine>.linted() instead of this method."""
403 """Determine whether a given action is marked as linted"""
404 linted = "pkg.linted.{0}".format(lint_id)
406 if key.startswith("pkg.linted") and linted.startswith(key):
419 """Determine whether a given manifest is marked as linted"""
420 linted = "pkg.linted.{0}".format(lint_id)
422 if key.startswith("pkg.linted") and linted.startswith(key):