@@ -236,7 +236,7 @@ def __init__(self, base_image):
236236 )
237237 self .platform = ""
238238
239- @lru_cache ()
239+ @lru_cache
240240 def get_packages (self ):
241241 """
242242 List of packages that are installed in this BuildPack.
@@ -246,7 +246,7 @@ def get_packages(self):
246246 """
247247 return set ()
248248
249- @lru_cache ()
249+ @lru_cache
250250 def get_base_packages (self ):
251251 """
252252 Base set of apt packages that are installed for all images.
@@ -265,7 +265,7 @@ def get_base_packages(self):
265265 "gettext-base" ,
266266 }
267267
268- @lru_cache ()
268+ @lru_cache
269269 def get_build_env (self ):
270270 """
271271 Ordered list of environment variables to be set for this image.
@@ -281,7 +281,7 @@ def get_build_env(self):
281281 """
282282 return []
283283
284- @lru_cache ()
284+ @lru_cache
285285 def get_env (self ):
286286 """
287287 Ordered list of environment variables to be set for this image.
@@ -296,7 +296,7 @@ def get_env(self):
296296 """
297297 return []
298298
299- @lru_cache ()
299+ @lru_cache
300300 def get_path (self ):
301301 """
302302 Ordered list of file system paths to look for executables in.
@@ -306,14 +306,14 @@ def get_path(self):
306306 """
307307 return []
308308
309- @lru_cache ()
309+ @lru_cache
310310 def get_labels (self ):
311311 """
312312 Docker labels to set on the built image.
313313 """
314314 return self .labels
315315
316- @lru_cache ()
316+ @lru_cache
317317 def get_build_script_files (self ):
318318 """
319319 Dict of files to be copied to the container image for use in building.
@@ -338,7 +338,7 @@ def _check_stencila(self):
338338 f"Found a stencila manifest.xml at { root } . Stencila is no longer supported."
339339 )
340340
341- @lru_cache ()
341+ @lru_cache
342342 def get_build_scripts (self ):
343343 """
344344 Ordered list of shell script snippets to build the base image.
@@ -360,7 +360,7 @@ def get_build_scripts(self):
360360
361361 return []
362362
363- @lru_cache ()
363+ @lru_cache
364364 def get_preassemble_script_files (self ):
365365 """
366366 Dict of files to be copied to the container image for use in preassembly.
@@ -374,7 +374,7 @@ def get_preassemble_script_files(self):
374374 """
375375 return {}
376376
377- @lru_cache ()
377+ @lru_cache
378378 def get_preassemble_scripts (self ):
379379 """
380380 Ordered list of shell snippets to build an image for this repository.
@@ -391,7 +391,7 @@ def get_preassemble_scripts(self):
391391 """
392392 return []
393393
394- @lru_cache ()
394+ @lru_cache
395395 def get_assemble_scripts (self ):
396396 """
397397 Ordered list of shell script snippets to build the repo into the image.
@@ -418,7 +418,7 @@ def get_assemble_scripts(self):
418418 """
419419 return []
420420
421- @lru_cache ()
421+ @lru_cache
422422 def get_post_build_scripts (self ):
423423 """
424424 An ordered list of executable scripts to execute after build.
@@ -431,7 +431,7 @@ def get_post_build_scripts(self):
431431 """
432432 return []
433433
434- @lru_cache ()
434+ @lru_cache
435435 def get_start_script (self ):
436436 """
437437 The path to a script to be executed at container start up.
@@ -672,22 +672,22 @@ def _filter_tar(tarinfo):
672672
673673
674674class BaseImage (BuildPack ):
675- @lru_cache ()
675+ @lru_cache
676676 def get_build_env (self ):
677677 """Return env directives required for build"""
678678 return [
679679 ("APP_BASE" , "/srv" ),
680680 ]
681681
682- @lru_cache ()
682+ @lru_cache
683683 def get_env (self ):
684684 """Return env directives to be set after build"""
685685 return []
686686
687687 def detect (self ):
688688 return True
689689
690- @lru_cache ()
690+ @lru_cache
691691 def get_preassemble_scripts (self ):
692692 scripts = []
693693 try :
@@ -727,19 +727,19 @@ def get_preassemble_scripts(self):
727727
728728 return scripts
729729
730- @lru_cache ()
730+ @lru_cache
731731 def get_assemble_scripts (self ):
732732 """Return directives to run after the entire repository has been added to the image"""
733733 return []
734734
735- @lru_cache ()
735+ @lru_cache
736736 def get_post_build_scripts (self ):
737737 post_build = self .binder_path ("postBuild" )
738738 if os .path .exists (post_build ):
739739 return [post_build ]
740740 return []
741741
742- @lru_cache ()
742+ @lru_cache
743743 def get_start_script (self ):
744744 start = self .binder_path ("start" )
745745 if os .path .exists (start ):
0 commit comments