diff options
| author | alevitskii <[email protected]> | 2025-05-20 09:16:47 +0300 |
|---|---|---|
| committer | alevitskii <[email protected]> | 2025-05-20 09:35:09 +0300 |
| commit | 9de99a9451af6f728edc321e802add05499b4bc9 (patch) | |
| tree | 8e3c2b916dd37296d14a23d6a58a42caab4455ee | |
| parent | 33c2fd062d8a4d502fe87b69e7085028f633d4dc (diff) | |
Delete get_ruff_configs from plugin
Delete get_ruff_configs from plugin
commit_hash:1b26f3aefb621466c931f64226f480a02771d843
| -rw-r--r-- | build/plugins/pybuild.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/build/plugins/pybuild.py b/build/plugins/pybuild.py index 1d8dd3f9bc1..5d5f768ced6 100644 --- a/build/plugins/pybuild.py +++ b/build/plugins/pybuild.py @@ -144,15 +144,6 @@ def get_srcdir(path, unit): return rootrel_arc_src(path, unit)[: -len(path)].rstrip('/') -@lazy -def get_ruff_configs(unit): - rel_config_path = rootrel_arc_src(unit.get('RUFF_CONFIG_PATHS_FILE'), unit) - arc_config_path = unit.resolve_arc_path(rel_config_path) - abs_config_path = unit.resolve(arc_config_path) - with open(abs_config_path, 'r') as fd: - return list(json.load(fd).values()) - - def add_python_lint_checks(unit, py_ver, files): @lazy def get_resolved_files(): |
