Home
last modified time | relevance | path

Searched refs:filter_paths (Results 1 – 24 of 24) sorted by relevance

/external/pigweed/pw_presubmit/py/pw_presubmit/
Dsource_in_build.py22 from pw_presubmit.presubmit import Check, filter_paths
53 @filter_paths(file_filter=source_filter)
100 @filter_paths(file_filter=source_filter)
147 @filter_paths(file_filter=source_filter)
191 @filter_paths(file_filter=source_filter)
Djavascript_checks.py19 filter_paths,
28 @filter_paths(endswith=('.js', '.ts'))
Dshell_checks.py21 filter_paths,
34 @filter_paths(endswith=_SHELL_EXTENSIONS)
Dpython_checks.py36 filter_paths,
62 @filter_paths(endswith=_PYTHON_EXTENSIONS)
114 @filter_paths(endswith=_PYTHON_EXTENSIONS)
167 @filter_paths(endswith=_PYTHON_PACKAGE_EXTENSIONS)
642 @filter_paths(endswith=_PYTHON_PACKAGE_EXTENSIONS)
647 @filter_paths(endswith=_PYTHON_PACKAGE_EXTENSIONS)
658 @filter_paths(endswith=_PYTHON_EXTENSIONS + ('.pylintrc',))
Dcpp_checks.py23 filter_paths,
41 @filter_paths(endswith=format_code.CPP_HEADER_EXTS, exclude=(r'\.pb\.h$',))
147 @filter_paths(endswith=format_code.CPP_HEADER_EXTS, exclude=(r'\.pb\.h$',))
Dpigweed_presubmit.py58 filter_paths,
154 @filter_paths(file_filter=_BUILD_FILE_FILTER)
292 @filter_paths(file_filter=_BUILD_FILE_FILTER)
797 @filter_paths(
806 @filter_paths(
815 @filter_paths(
917 @filter_paths(
1247 @filter_paths(exclude=_EXCLUDE_FROM_COPYRIGHT_NOTICE)
1272 @filter_paths(endswith=format_code.CPP_SOURCE_EXTS)
1449 @filter_paths(endswith=(*format_code.C_FORMAT.extensions, '.py'))
[all …]
Dtodo_check.py22 from pw_presubmit.presubmit import filter_paths
161 @filter_paths(exclude=exclude)
Dgitmodules.py23 from pw_presubmit.presubmit import filter_paths
197 @filter_paths(endswith='.gitmodules')
Djson_check.py21 @presubmit.filter_paths(endswith=('.json',))
Dbazel_checks.py32 @presubmit.filter_paths(endswith=('.bazel', '.bzl'))
Dpresubmit_context.py71 def filter_paths(self, paths: Iterable[Path]) -> tuple[Path, ...]: member in FormatOptions
649 return ctx.format_options.filter_paths(paths or ctx.paths)
Dformat_code.py52 from pw_presubmit.presubmit import filter_paths
648 @filter_paths(file_filter=file_filter)
709 self.paths: tuple[Path, ...] = self._format_options.filter_paths(files)
Dbuild.py50 filter_paths,
724 @filter_paths(
Dpresubmit.py1040 def filter_paths( function
/external/python/watchdog/tests/
Dtest_patterns.py5 from watchdog.utils.patterns import _match_path, filter_paths, match_any_paths
45 filter_paths(
Dtest_pattern_matching_event_handler.py18 from watchdog.utils.patterns import filter_paths
28 filtered_paths = filter_paths(
/external/python/watchdog/src/watchdog/utils/
Dpatterns.py48 def filter_paths( function
93 filter_paths(
/external/pigweed/pw_build/
Dcoverage_report.gni36 # - filter_paths (optional): List of file paths (using GN path helpers like
107 filter_paths = []
108 if (defined(invoker.filter_paths)) {
109 filter_paths += invoker.filter_paths
219 foreach(filter_path, _arguments.filter_paths) {
222 # filter_paths.
Dgn.rst1232 - ``filter_paths`` (optional): List of file paths to include when generating the
/external/pigweed/pw_presubmit/py/
Dcpp_checks_test.py39 self.ctx.format_options.filter_paths = lambda x: x
75 self.ctx.format_options.filter_paths = lambda x: x
/external/pigweed/pw_build/py/pw_build/
Dgenerate_report.py119 filter_paths: list[str],
203 str(Path(filter_path).resolve()) for filter_path in filter_paths
/external/pigweed/pw_presubmit/
Ddocs.rst109 Presubmit checks may use the ``filter_paths`` decorator to automatically filter
116 @pw_presubmit.filter_paths(endswith='.py')
134 If all such files are filtered out by ``filter_paths``, then that step will be
413 :members: filter_paths, call, PresubmitFailure, Programs
468 from pw_presubmit.presubmit import filter_paths
505 # filters with @filter_paths.
506 @filter_paths(endswith=".h", exclude=PATH_EXCLUSIONS)
/external/crosvm/cros_fdt/src/
Doverlay.rs461 let (filter_symbols, filter_paths) = prepare_filtered_symbols(filter_symbols, &overlay)?; in apply_overlay()
464 let filtered_paths = collect_all_filtered_paths(filter_paths, &overlay)?; in apply_overlay()
/external/pigweed/
DBUILD.gn692 filter_paths = []