Lines Matching +full:re +full:- +full:config
2 # SPDX-License-Identifier: Apache-2.0
10 import re
22 def get_default_thread_count() -> int:
36 # second group captures comments (//single-line or /* multi-line */)
38 regex = re.compile(pattern, re.MULTILINE | re.DOTALL)
54 "-s",
55 "--schema",
62 "-c",
63 "--config",
72 "-e",
73 "--expected-fails",
80 "-k",
81 "--continue",
86 "-v", "--verbose", action="store_true", help="be noisy"
89 "-t",
90 "--threads",
100 source_dir = os.path.realpath(__file__).split(os.sep)[:-2]
111 config_files = args.config or []
114 source_dir = os.path.realpath(__file__).split(os.sep)[:-2]
134 f"Could not parse config file: {config_file}", file=sys.stderr
161 for config_file, config in zip(config_files, configs):
167 config,
184 # Stop validation if validation failed unexpectedly and --continue is not set
217 # Pre-load all .json files from the schemas directory and its subdirectories
255 args, filename, config, expected_fails, schema_file
264 validator.validate(config)