diff --git a/metadata-ingestion/pyproject.toml b/metadata-ingestion/pyproject.toml index e5dd6297e5009f..3b725f6d3ae9aa 100644 --- a/metadata-ingestion/pyproject.toml +++ b/metadata-ingestion/pyproject.toml @@ -68,6 +68,10 @@ ignore = [ [tool.ruff.lint.mccabe] max-complexity = 20 +[tool.ruff.lint.flake8-tidy-imports] +# Disallow all relative imports. +ban-relative-imports = "all" + [tool.ruff.lint.per-file-ignores] "__init__.py" = ["F401"] \ No newline at end of file