@@ -271,7 +271,7 @@ def resolve_build_directory(self, build_dir_list=None, *, automatic_discovery=Tr
271271 if build_dir .exists () and Path (build_dir , 'CMakeCache.txt' ).exists ():
272272 log .debug (
273273 'Located valid build directory with CMakeCache.txt at: %s' ,
274- str ( build_dir ) ,
274+ build_dir ,
275275 )
276276 self .build_dir = build_dir .resolve ()
277277 return
@@ -280,7 +280,7 @@ def resolve_build_directory(self, build_dir_list=None, *, automatic_discovery=Tr
280280 if automatic_discovery :
281281 for path in sorted (self .source_dir .glob ('*' )):
282282 if path .is_dir () and (path / 'CMakeCache.txt' ).exists ():
283- log .info ('Automatic build dir discovery resulted in: %s' , str ( path ) )
283+ log .info ('Automatic build dir discovery resulted in: %s' , path )
284284 self .build_dir = path
285285 return
286286
@@ -295,7 +295,7 @@ def resolve_build_directory(self, build_dir_list=None, *, automatic_discovery=Tr
295295 self .build_dir = Path (build_dir_list [0 ]).resolve ()
296296 log .info (
297297 'Unable to locate a valid build directory. Will be creating one at %s' ,
298- str ( self .build_dir ) ,
298+ self .build_dir ,
299299 )
300300
301301 def setup_cmake_args (self , cmake_args ): # noqa: C901
@@ -532,8 +532,8 @@ def _is_relevant_configure_file_call(json_data):
532532 configured_file = self .build_dir / configured_file
533533 log .debug (
534534 'detected call to configure_file(%s %s [...])' ,
535- str ( input_file ) ,
536- str ( configured_file ) ,
535+ input_file ,
536+ configured_file ,
537537 )
538538 self .cmake_configured_files .append (str (configured_file ))
539539
0 commit comments