File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
pydocstringformatter/testutils/primer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11import logging
2+ import os
23from dataclasses import dataclass
34from pathlib import Path
45from 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 ]] = {
You can’t perform that action at this time.
0 commit comments