@@ -217,7 +217,7 @@ def base(self, env_dir: str | Path) -> Builder:
217217 @abstractmethod
218218 def channels (self , * channels : str ) -> Builder :
219219 """
220- Adds channels/repositories to search for packages.
220+ Add channels/repositories to search for packages.
221221
222222 The interpretation of channels is builder-specific:
223223 - Pixi/Mamba: conda channels (e.g., "conda-forge", "bioconda")
@@ -233,7 +233,8 @@ def channels(self, *channels: str) -> Builder:
233233
234234 def file (self , path : str | Path ) -> Builder :
235235 """
236- Specifies a configuration file to build from.
236+ Specify a configuration file to build from.
237+
237238 Reads the file content immediately and delegates to content().
238239
239240 Args:
@@ -255,7 +256,8 @@ def file(self, path: str | Path) -> Builder:
255256
256257 def url (self , url : str ) -> Builder :
257258 """
258- Specifies a URL to fetch configuration content from.
259+ Specify a URL to fetch configuration content from.
260+
259261 Reads the URL content immediately and delegates to content().
260262
261263 Args:
@@ -277,7 +279,8 @@ def url(self, url: str) -> Builder:
277279 @abstractmethod
278280 def content (self , content : str ) -> Builder :
279281 """
280- Specifies configuration file content to build from.
282+ Specify configuration file content to build from.
283+
281284 The scheme will be auto-detected from content syntax.
282285
283286 Args:
@@ -291,7 +294,8 @@ def content(self, content: str) -> Builder:
291294 @abstractmethod
292295 def scheme (self , scheme : str ) -> Builder :
293296 """
294- Explicitly specifies the scheme for the configuration.
297+ Explicitly specify the scheme for the configuration.
298+
295299 This overrides auto-detection.
296300
297301 Args:
@@ -305,7 +309,7 @@ def scheme(self, scheme: str) -> Builder:
305309 @abstractmethod
306310 def subscribe_progress (self , subscriber : ProgressConsumer ) -> Builder :
307311 """
308- Registers a callback to be invoked when progress happens during environment building.
312+ Register a callback to be invoked when progress happens during environment building.
309313
310314 Args:
311315 subscriber: Function to call with (title, current, maximum) when progress happens
@@ -318,7 +322,7 @@ def subscribe_progress(self, subscriber: ProgressConsumer) -> Builder:
318322 @abstractmethod
319323 def subscribe_output (self , subscriber : Callable [[str ], None ]) -> Builder :
320324 """
321- Registers a callback to be invoked when output is generated during environment building.
325+ Register a callback to be invoked when output is generated during environment building.
322326
323327 Args:
324328 subscriber: Function to call with output strings
@@ -331,7 +335,7 @@ def subscribe_output(self, subscriber: Callable[[str], None]) -> Builder:
331335 @abstractmethod
332336 def subscribe_error (self , subscriber : Callable [[str ], None ]) -> Builder :
333337 """
334- Registers a callback to be invoked when errors occur during environment building.
338+ Register a callback to be invoked when errors occur during environment building.
335339
336340 Args:
337341 subscriber: Function to call with error strings
@@ -344,7 +348,7 @@ def subscribe_error(self, subscriber: Callable[[str], None]) -> Builder:
344348 @abstractmethod
345349 def flags (self , * flags : str ) -> Builder :
346350 """
347- Adds command-line flags to be passed to the underlying tool during build operations.
351+ Add command-line flags to be passed to the underlying tool during build operations.
348352
349353 These flags are passed directly to the tool's command-line invocation.
350354 The interpretation of flags is tool-specific:
@@ -418,7 +422,8 @@ def supports_scheme(self, scheme: str) -> bool:
418422 @abstractmethod
419423 def priority (self ) -> float :
420424 """
421- Returns the priority of this builder for scheme resolution.
425+ Return the priority of this builder for scheme resolution.
426+
422427 Higher priority builders are preferred when multiple builders support the same scheme.
423428
424429 Returns:
@@ -429,7 +434,7 @@ def priority(self) -> float:
429434 @abstractmethod
430435 def can_wrap (self , env_dir : str | Path ) -> bool :
431436 """
432- Checks if this builder can wrap the given existing environment directory.
437+ Check if this builder can wrap the given existing environment directory.
433438
434439 Args:
435440 env_dir: The directory to check
@@ -612,7 +617,8 @@ def __init__(self):
612617
613618 def bin_paths (self , * paths : str ) -> SimpleBuilder :
614619 """
615- Appends additional binary paths to search for executables.
620+ Append additional binary paths to search for executables.
621+
616622 Paths are searched in the order they are added.
617623
618624 Args:
@@ -626,7 +632,7 @@ def bin_paths(self, *paths: str) -> SimpleBuilder:
626632
627633 def append_system_path (self ) -> SimpleBuilder :
628634 """
629- Appends the current process's system PATH directories to the environment's binary paths.
635+ Append the current process's system PATH directories to the environment's binary paths.
630636
631637 Returns:
632638 This builder instance
@@ -637,7 +643,8 @@ def append_system_path(self) -> SimpleBuilder:
637643
638644 def inherit_running_java (self ) -> SimpleBuilder :
639645 """
640- Configures the environment to use the same Java installation as the parent process.
646+ Configure the environment to use the same Java installation as the parent process.
647+
641648 This prepends ${JAVA_HOME}/bin to the binary paths and sets the JAVA_HOME
642649 environment variable.
643650
@@ -852,7 +859,7 @@ def find_factory_for_wrapping(env_dir: str | Path) -> BuilderFactory | None:
852859
853860def can_wrap (env_dir : str | Path ) -> bool :
854861 """
855- Checks if the given directory can be wrapped as a known environment type.
862+ Check if the given directory can be wrapped as a known environment type.
856863
857864 Args:
858865 env_dir: The directory to check
@@ -865,7 +872,7 @@ def can_wrap(env_dir: str | Path) -> bool:
865872
866873def env_type (env_dir : str | Path ) -> str | None :
867874 """
868- Returns the environment type name for the given directory.
875+ Return the environment type name for the given directory.
869876
870877 Args:
871878 env_dir: The directory to check
0 commit comments