Skip to content

Commit 0fdaab6

Browse files
committed
Add deprecation warning for implicit config files
Signed-off-by: John Pennycook <john.pennycook@intel.com>
1 parent bf5b31e commit 0fdaab6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bin/codebasin

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ def main():
210210
len(additional_platforms) == 0 and args.analysis_file is None
211211
)
212212
if config_file is None and config_required:
213+
warnings.warn("Implicitly defined configuration files are deprecated.")
213214
config_file = os.path.join(rootdir, "config.yaml")
214215
if not os.path.exists(config_file):
215216
raise RuntimeError(f"Could not find config file {config_file}")

0 commit comments

Comments
 (0)