@@ -66,8 +66,7 @@ def _merge(src: str, dest: str, path: Path):
6666
6767
6868def _find_copy_target (src : Path , version_string : str ) -> typing .Optional [Path ]:
69- """Returns a directory contains the version subdirectory.
70- """
69+ """Returns a directory contains the version subdirectory."""
7170 logger .debug ("_find_copy_target called with %s and %s" , src , version_string )
7271 entries = os .scandir (src )
7372 if not entries :
@@ -81,10 +80,11 @@ def _find_copy_target(src: Path, version_string: str) -> typing.Optional[Path]:
8180
8281
8382def owlbot_copy_version (
84- src : Path , dest : Path , copy_excludes : typing .Optional [typing .List [str ]] = None ,
83+ src : Path ,
84+ dest : Path ,
85+ copy_excludes : typing .Optional [typing .List [str ]] = None ,
8586) -> None :
86- """Copies files from a version subdirectory.
87- """
87+ """Copies files from a version subdirectory."""
8888 logger .debug ("owlbot_copy_version called from %s to %s" , src , dest )
8989
9090 if copy_excludes is None :
@@ -146,8 +146,7 @@ def owlbot_main(
146146 copy_excludes : typing .Optional [typing .List [str ]] = None ,
147147 patch_func : typing .Callable [[], None ] = owlbot_patch ,
148148) -> None :
149- """Copies files from generated tree.
150- """
149+ """Copies files from generated tree."""
151150 entries = os .scandir (src )
152151 if not entries :
153152 logger .info ("there is no version subdirectory to copy" )
@@ -161,9 +160,7 @@ def owlbot_main(
161160
162161
163162def owlbot_entrypoint (staging_dir : str = STAGING_DIR ) -> None :
164- """Copies files from staging and template directories into current working dir.
165-
166- """
163+ """Copies files from staging and template directories into current working dir."""
167164 logging .basicConfig (level = logging .INFO )
168165
169166 logger .debug ("owlbot_main called" )
0 commit comments