@@ -108,10 +108,10 @@ def __init__(self, *, base_dir: Path, encoding: str, **kwargs: Any) -> None:
108108
109109 def get_options (self , local_options : Mapping [str , Any ]) -> Dict [str , Any ]:
110110 """Combine the default options with the local options.
111-
111+
112112 Arguments:
113113 local_options: The options provided in Markdown pages.
114-
114+
115115 Returns:
116116 The combined options.
117117 """
@@ -184,13 +184,13 @@ def update_env(self, config: Dict[Any, Any]) -> None:
184184
185185 def get_aliases (self , identifier : str ) -> Tuple [str , ...]:
186186 """Get the aliases of the given identifier.
187-
187+
188188 Aliases are used to register secondary URLs in mkdocs-autorefs,
189189 to make sure cross-references work with any location of the same object.
190-
190+
191191 Arguments:
192192 identifier: The identifier to get aliases for.
193-
193+
194194 Returns:
195195 A tuple of aliases for the given identifier.
196196 """
@@ -201,7 +201,12 @@ def get_aliases(self, identifier: str) -> Tuple[str, ...]:
201201 return data .path .as_posix (), * (p .signature .name for p in data .procedures )
202202
203203
204- def get_handler (* , encoding : str = "latin1" , tool_config : MkDocsConfig | None = None , ** kwargs : Any ) -> VbaHandler :
204+ def get_handler (
205+ * ,
206+ encoding : str = "latin1" ,
207+ tool_config : MkDocsConfig | None = None ,
208+ ** kwargs : Any ,
209+ ) -> VbaHandler :
205210 """
206211 Get a new `VbaHandler`.
207212
@@ -216,5 +221,9 @@ def get_handler(*, encoding: str = "latin1", tool_config: MkDocsConfig | None =
216221 Returns:
217222 An instance of `VbaHandler`.
218223 """
219- base_dir = Path (getattr (tool_config , "config_file_path" , None ) or "./mkdocs.yml" ).resolve ().parent
224+ base_dir = (
225+ Path (getattr (tool_config , "config_file_path" , None ) or "./mkdocs.yml" )
226+ .resolve ()
227+ .parent
228+ )
220229 return VbaHandler (base_dir = base_dir , encoding = encoding , ** kwargs )
0 commit comments