Lines Matching +full:run +full:- +full:checker
3 # Use of this source code is governed by a BSD-style license that can be
35 return re.match(r'(test|mock|dummy)_.*|.*_[a-z]*test\.(cc|mm|java)', filename)
54 base_directory: OS-compatible path to root of checkout, e.g. C:\chr\src.
91 (extension, checker)
92 for checker in [java, cpp, proto] for extension in checker.EXTENSIONS)
101 checker = checkers[file_extension]
102 file_status = checker.CheckFile(rules, full_name)
106 def CheckIncludesAndImports(self, added_lines, checker): argument
112 checker: CppChecker/JavaChecker/ProtoChecker checker instance
117 rule_description is human-readable. Empty if no problems.
121 if not checker.ShouldCheck(file_path):
127 is_include, violation = checker.CheckLine(
149 rule_description is human-readable. Empty if no problems.
168 rule_description is human-readable. Empty if no problems.
185 rule_description is human-readable. Empty if no problems.
192 print("""Usage: python checkdeps.py [--root <root>] [tocheck]
194 --root ROOT Specifies the repository root. This defaults to "../../.."
198 --(others) There are a few lesser-used options; run with --help to show them.
205 python checkdeps.py --root c:\\source chrome""")
211 '', '--root',
217 '', '--extra-repos',
221 '', '--ignore-temp-rules',
223 help='Ignore !-prefixed (temporary) rules.')
225 '', '--generate-temp-rules',
230 '', '--count-violations',
234 '', '--skip-tests',
238 '-v', '--verbose',
242 '', '--json',
245 '', '--no-resolve-dotdot',