From c9da61207205d8be5d6d72345a3344dbceda4714 Mon Sep 17 00:00:00 2001 From: Markus Hofbauer Date: Mon, 20 Apr 2026 08:56:59 +0200 Subject: [PATCH] Remove unused get_codeowners_path function Removed the get_codeowners_path function from ownership_utils.py. --- packages/whoowns/whoowns/ownership_utils.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/whoowns/whoowns/ownership_utils.py b/packages/whoowns/whoowns/ownership_utils.py index 152b032..bbf7283 100644 --- a/packages/whoowns/whoowns/ownership_utils.py +++ b/packages/whoowns/whoowns/ownership_utils.py @@ -13,10 +13,6 @@ from pathlib import Path -def get_codeowners_path(repo_dir: Path) -> Path: - return repo_dir / ".github" / "CODEOWNERS" - - def find_codeowners_file(repo_dir: Path) -> Path | None: relative_codeowner_paths = [".github/CODEOWNERS", "CODEOWNERS", "docs/CODEOWNERS"] for relative_path in relative_codeowner_paths: