Skip to content

Commit a357899

Browse files
committed
FIx?
1 parent f813e03 commit a357899

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pydocstringformatter/testutils/primer/packages.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import logging
2+
import os
23
from dataclasses import dataclass
34
from pathlib import Path
45
from typing import Dict, List, Union
@@ -25,7 +26,7 @@ class _PackageToCheck:
2526
def clone_directory(self) -> Path:
2627
"""Directory to clone repository into."""
2728
clone_name = "/".join(self.url.split("/")[-2:]).replace(".git", "")
28-
return PRIMER_DIRECTORY_PATH / clone_name
29+
return Path(os.path.abspath(PRIMER_DIRECTORY_PATH / clone_name))
2930

3031
@property
3132
def paths_to_lint(self) -> List[str]:
@@ -36,7 +37,6 @@ def lazy_clone(self) -> None:
3637
"""Clone the repo, if necessary."""
3738
logging.info("Lazy cloning %s", self.url)
3839

39-
print("CHECK:", self.clone_directory.exists())
4040
# Clone if not yet cloned
4141
if not self.clone_directory.exists():
4242
options: Dict[str, Union[str, int]] = {

0 commit comments

Comments
 (0)