diff --git a/ddtrace/internal/codeowners.py b/ddtrace/internal/codeowners.py index 461a107c21c..a4325f6e834 100644 --- a/ddtrace/internal/codeowners.py +++ b/ddtrace/internal/codeowners.py @@ -131,7 +131,7 @@ def __init__(self, path: Optional[str] = None, cwd: Optional[str] = None): self.patterns: List[Tuple[re.Pattern, List[str]]] = [] self.parse() - def location(self, cwd=None) -> Optional[str]: + def location(self, cwd: Optional[str] = None) -> Optional[str]: """Return the location of the CODEOWNERS file.""" cwd = cwd or os.getcwd() for location in self.KNOWN_LOCATIONS: