Skip to content

Commit

Permalink
re-add type
Browse files Browse the repository at this point in the history
  • Loading branch information
romainkomorndatadog committed Aug 28, 2024
1 parent 8dd22dd commit 31fcdb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddtrace/internal/codeowners.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 31fcdb8

Please sign in to comment.