diff options
| author | alevitskii <[email protected]> | 2025-04-02 08:09:05 +0300 |
|---|---|---|
| committer | alevitskii <[email protected]> | 2025-04-02 08:23:48 +0300 |
| commit | 812713fe8dff973a39e2a1b5b107b3dde1554261 (patch) | |
| tree | d69c862c987e2a48d980804bec2a71cf6861a089 /build/plugins/_dart_fields.py | |
| parent | dd91da01678cb17b1d61d7dcea7c037ce47a8207 (diff) | |
Add deprecation message for old usages of STYLE_PYTHON and STYLE_RUFF
Add deprecation message for old usages of STYLE_PYTHON and STYLE_RUFF
commit_hash:a9800b37c6c5861c119287e1b94952a04da4e666
Diffstat (limited to 'build/plugins/_dart_fields.py')
| -rw-r--r-- | build/plugins/_dart_fields.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/plugins/_dart_fields.py b/build/plugins/_dart_fields.py index da924049d7c..4f069e0ab1e 100644 --- a/build/plugins/_dart_fields.py +++ b/build/plugins/_dart_fields.py @@ -609,6 +609,8 @@ class LintConfigs: custom_config = custom_config[0] assert_file_exists(unit, custom_config) resolved_configs.append(custom_config) + message = "Usage of STYLE_PYTHON with custom config passed as an argument is deprecated and will soon be removed. Use linters.make.inc instead." + unit.message(['WARN', message]) return {cls.KEY: serialize_list(resolved_configs)} if config := cls._from_config_type(unit, spec_args): |
