-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathActivate_custom.py
43 lines (37 loc) · 2.44 KB
/
Activate_custom.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# ----------------------------------------------------------------------
# |
# | Activate_custom.py
# |
# | David Brownell <[email protected]>
# | 2023-05-22 15:24:26
# |
# ----------------------------------------------------------------------
# |
# | Copyright David Brownell 2023
# | Distributed under the Boost Software License, Version 1.0. See
# | accompanying file LICENSE_1_0.txt or copy at
# | http://www.boost.org/LICENSE_1_0.txt.
# |
# ----------------------------------------------------------------------
# pylint: disable=invalid-name
# pylint: disable=missing-module-docstring
from pathlib import Path
from typing import List, Optional
from Common_Foundation.Shell import Commands # type: ignore # pylint: disable=import-error,unused-import
from Common_Foundation.Streams.DoneManager import DoneManager # type: ignore # pylint: disable=import-error,unused-import
from RepositoryBootstrap import Configuration # type: ignore # pylint: disable=import-error,unused-import
from RepositoryBootstrap import DataTypes # type: ignore # pylint: disable=import-error,unused-import
# ----------------------------------------------------------------------
# Note that it is safe to remove this function if it will never be used.
def GetCustomActions( # pylint: disable=too-many-arguments
# Note that it is safe to remove any parameters that are not used
dm: DoneManager, # pylint: disable=unused-argument
repositories: List[DataTypes.ConfiguredRepoDataWithPath], # pylint: disable=unused-argument
generated_dir: Path, # pylint: disable=unused-argument
configuration: Optional[str], # pylint: disable=unused-argument
version_specs: Configuration.VersionSpecs, # pylint: disable=unused-argument
force: bool, # pylint: disable=unused-argument
is_mixin_repo: bool, # pylint: disable=unused-argument
) -> List[Commands.Command]:
"""Returns a list of actions that should be invoked as part of the activation process."""
return []