dycw-actions 0.6.4__py3-none-any.whl → 0.7.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- actions/__init__.py +1 -1
- actions/action_dicts/lib.py +8 -8
- actions/clean_dir/cli.py +0 -12
- actions/clean_dir/constants.py +7 -0
- actions/clean_dir/lib.py +1 -0
- actions/cli.py +90 -29
- actions/constants.py +5 -1
- actions/pre_commit/click.py +15 -0
- actions/{conformalize_repo → pre_commit/conformalize_repo}/cli.py +2 -14
- actions/{conformalize_repo → pre_commit/conformalize_repo}/constants.py +8 -2
- actions/{conformalize_repo → pre_commit/conformalize_repo}/lib.py +97 -313
- actions/{conformalize_repo → pre_commit/conformalize_repo}/settings.py +1 -1
- actions/pre_commit/constants.py +8 -0
- actions/pre_commit/format_requirements/cli.py +24 -0
- actions/pre_commit/format_requirements/constants.py +7 -0
- actions/pre_commit/format_requirements/lib.py +52 -0
- actions/pre_commit/replace_sequence_strs/__init__.py +1 -0
- actions/pre_commit/replace_sequence_strs/cli.py +24 -0
- actions/pre_commit/replace_sequence_strs/constants.py +7 -0
- actions/{replace_sequence_strs → pre_commit/replace_sequence_strs}/lib.py +16 -22
- actions/pre_commit/touch_empty_py/__init__.py +1 -0
- actions/pre_commit/touch_empty_py/cli.py +24 -0
- actions/pre_commit/touch_empty_py/constants.py +7 -0
- actions/pre_commit/touch_empty_py/lib.py +62 -0
- actions/pre_commit/touch_py_typed/__init__.py +1 -0
- actions/pre_commit/touch_py_typed/cli.py +24 -0
- actions/pre_commit/touch_py_typed/constants.py +7 -0
- actions/pre_commit/touch_py_typed/lib.py +72 -0
- actions/pre_commit/update_requirements/__init__.py +1 -0
- actions/pre_commit/update_requirements/classes.py +130 -0
- actions/pre_commit/update_requirements/cli.py +24 -0
- actions/pre_commit/update_requirements/constants.py +7 -0
- actions/pre_commit/update_requirements/lib.py +140 -0
- actions/pre_commit/utilities.py +386 -0
- actions/publish_package/cli.py +7 -19
- actions/publish_package/constants.py +7 -0
- actions/publish_package/lib.py +3 -3
- actions/py.typed +0 -0
- actions/random_sleep/cli.py +6 -15
- actions/random_sleep/constants.py +7 -0
- actions/register_gitea_runner/__init__.py +1 -0
- actions/register_gitea_runner/cli.py +32 -0
- actions/register_gitea_runner/configs/config.yml +110 -0
- actions/register_gitea_runner/configs/entrypoint.sh +23 -0
- actions/register_gitea_runner/constants.py +23 -0
- actions/register_gitea_runner/lib.py +289 -0
- actions/register_gitea_runner/settings.py +33 -0
- actions/run_hooks/cli.py +3 -15
- actions/run_hooks/constants.py +7 -0
- actions/run_hooks/lib.py +2 -2
- actions/setup_cronjob/cli.py +0 -12
- actions/setup_cronjob/constants.py +5 -1
- actions/tag_commit/cli.py +7 -19
- actions/tag_commit/constants.py +7 -0
- actions/tag_commit/lib.py +8 -8
- actions/types.py +4 -1
- actions/utilities.py +68 -14
- {dycw_actions-0.6.4.dist-info → dycw_actions-0.7.7.dist-info}/METADATA +5 -3
- dycw_actions-0.7.7.dist-info/RECORD +84 -0
- actions/format_requirements/cli.py +0 -37
- actions/format_requirements/lib.py +0 -121
- actions/publish_package/doc.py +0 -6
- actions/random_sleep/doc.py +0 -6
- actions/replace_sequence_strs/cli.py +0 -37
- actions/run_hooks/doc.py +0 -6
- actions/tag_commit/doc.py +0 -6
- dycw_actions-0.6.4.dist-info/RECORD +0 -56
- /actions/{conformalize_repo → pre_commit}/__init__.py +0 -0
- /actions/{format_requirements → pre_commit/conformalize_repo}/__init__.py +0 -0
- /actions/{conformalize_repo → pre_commit/conformalize_repo}/configs/gitignore +0 -0
- /actions/{replace_sequence_strs → pre_commit/format_requirements}/__init__.py +0 -0
- {dycw_actions-0.6.4.dist-info → dycw_actions-0.7.7.dist-info}/WHEEL +0 -0
- {dycw_actions-0.6.4.dist-info → dycw_actions-0.7.7.dist-info}/entry_points.txt +0 -0
actions/__init__.py
CHANGED
actions/action_dicts/lib.py
CHANGED
|
@@ -2,11 +2,11 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from typing import TYPE_CHECKING, Any
|
|
4
4
|
|
|
5
|
-
import actions.publish_package.doc
|
|
6
|
-
import actions.random_sleep.doc
|
|
7
|
-
import actions.run_hooks.doc
|
|
8
|
-
import actions.tag_commit.doc
|
|
9
5
|
from actions.action_dicts.constants import GITHUB_TOKEN, PRERELEASE, RESOLUTION
|
|
6
|
+
from actions.publish_package.constants import PUBLISH_PACKAGE_DOCSTRING
|
|
7
|
+
from actions.random_sleep.constants import RANDOM_SLEEP_DOCSTRING
|
|
8
|
+
from actions.run_hooks.constants import RUN_HOOKS_DOCSTRING
|
|
9
|
+
from actions.tag_commit.constants import TAG_COMMIT_DOCSTRING
|
|
10
10
|
|
|
11
11
|
if TYPE_CHECKING:
|
|
12
12
|
from actions.types import StrDict
|
|
@@ -28,7 +28,7 @@ def run_action_pre_commit_dict(
|
|
|
28
28
|
dict_["sleep"] = sleep
|
|
29
29
|
return {
|
|
30
30
|
"if": f"{_runner(gitea=gitea)}.event_name == 'pull_request'",
|
|
31
|
-
"name":
|
|
31
|
+
"name": RUN_HOOKS_DOCSTRING,
|
|
32
32
|
"uses": "dycw/action-run-hooks@latest",
|
|
33
33
|
"with": dict_,
|
|
34
34
|
}
|
|
@@ -50,7 +50,7 @@ def run_action_publish_dict(
|
|
|
50
50
|
_add_boolean(dict_, "trusted-publishing", value=trusted_publishing)
|
|
51
51
|
_add_native_tls(dict_, native_tls=native_tls)
|
|
52
52
|
return {
|
|
53
|
-
"name":
|
|
53
|
+
"name": PUBLISH_PACKAGE_DOCSTRING,
|
|
54
54
|
"uses": "dycw/action-publish-package@latest",
|
|
55
55
|
"with": dict_,
|
|
56
56
|
}
|
|
@@ -114,7 +114,7 @@ def run_action_random_sleep_dict(
|
|
|
114
114
|
"log-freq": log_freq,
|
|
115
115
|
}
|
|
116
116
|
return {
|
|
117
|
-
"name":
|
|
117
|
+
"name": RANDOM_SLEEP_DOCSTRING,
|
|
118
118
|
"uses": "dycw/action-random-sleep@latest",
|
|
119
119
|
"with": dict_,
|
|
120
120
|
}
|
|
@@ -139,7 +139,7 @@ def run_action_tag_dict(
|
|
|
139
139
|
_add_boolean(dict_, "major", value=major)
|
|
140
140
|
_add_boolean(dict_, "latest", value=latest)
|
|
141
141
|
return {
|
|
142
|
-
"name":
|
|
142
|
+
"name": TAG_COMMIT_DOCSTRING,
|
|
143
143
|
"uses": "dycw/action-tag-commit@latest",
|
|
144
144
|
"with": dict_,
|
|
145
145
|
}
|
actions/clean_dir/cli.py
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from rich.pretty import pretty_repr
|
|
4
3
|
from typed_settings import click_options
|
|
5
4
|
from utilities.logging import basic_config
|
|
6
5
|
from utilities.os import is_pytest
|
|
7
|
-
from utilities.text import strip_and_dedent
|
|
8
6
|
|
|
9
|
-
from actions import __version__
|
|
10
7
|
from actions.clean_dir.lib import clean_dir
|
|
11
8
|
from actions.clean_dir.settings import Settings
|
|
12
9
|
from actions.logging import LOGGER
|
|
@@ -18,15 +15,6 @@ def clean_dir_sub_cmd(settings: Settings, /) -> None:
|
|
|
18
15
|
if is_pytest():
|
|
19
16
|
return
|
|
20
17
|
basic_config(obj=LOGGER)
|
|
21
|
-
LOGGER.info(
|
|
22
|
-
strip_and_dedent("""
|
|
23
|
-
Running '%s' (version %s) with settings:
|
|
24
|
-
%s
|
|
25
|
-
"""),
|
|
26
|
-
clean_dir.__name__,
|
|
27
|
-
__version__,
|
|
28
|
-
pretty_repr(settings),
|
|
29
|
-
)
|
|
30
18
|
clean_dir(dir_=settings.dir)
|
|
31
19
|
|
|
32
20
|
|
actions/clean_dir/lib.py
CHANGED
actions/cli.py
CHANGED
|
@@ -3,57 +3,118 @@ from __future__ import annotations
|
|
|
3
3
|
from click import group
|
|
4
4
|
from utilities.click import CONTEXT_SETTINGS
|
|
5
5
|
|
|
6
|
-
import actions.publish_package.doc
|
|
7
|
-
import actions.random_sleep.doc
|
|
8
|
-
import actions.run_hooks.doc
|
|
9
|
-
import actions.tag_commit.doc
|
|
10
6
|
from actions.clean_dir.cli import clean_dir_sub_cmd
|
|
11
|
-
from actions.
|
|
12
|
-
from actions.
|
|
7
|
+
from actions.clean_dir.constants import CLEAN_DIR_SUB_CMD
|
|
8
|
+
from actions.pre_commit.conformalize_repo.cli import conformalize_repo_sub_cmd
|
|
9
|
+
from actions.pre_commit.conformalize_repo.constants import (
|
|
10
|
+
CONFORMALIZE_REPO_DOCSTRING,
|
|
11
|
+
CONFORMALIZE_REPO_SUB_CMD,
|
|
12
|
+
)
|
|
13
|
+
from actions.pre_commit.format_requirements.cli import format_requirements_sub_cmd
|
|
14
|
+
from actions.pre_commit.format_requirements.constants import (
|
|
15
|
+
FORMAT_REQUIREMENTS_DOCSTRING,
|
|
16
|
+
FORMAT_REQUIREMENTS_SUB_CMD,
|
|
17
|
+
)
|
|
18
|
+
from actions.pre_commit.replace_sequence_strs.cli import replace_sequence_strs_sub_cmd
|
|
19
|
+
from actions.pre_commit.replace_sequence_strs.constants import (
|
|
20
|
+
REPLACE_SEQUENCE_STRS_DOCSTRING,
|
|
21
|
+
REPLACE_SEQUENCE_STRS_SUB_CMD,
|
|
22
|
+
)
|
|
23
|
+
from actions.pre_commit.touch_empty_py.cli import touch_empty_py_sub_cmd
|
|
24
|
+
from actions.pre_commit.touch_empty_py.constants import (
|
|
25
|
+
TOUCH_EMPTY_PY_DOCSTRING,
|
|
26
|
+
TOUCH_EMPTY_PY_SUB_CMD,
|
|
27
|
+
)
|
|
28
|
+
from actions.pre_commit.touch_py_typed.cli import touch_py_typed_sub_cmd
|
|
29
|
+
from actions.pre_commit.touch_py_typed.constants import (
|
|
30
|
+
TOUCH_PY_TYPED_DOCSTRING,
|
|
31
|
+
TOUCH_PY_TYPED_SUB_CMD,
|
|
32
|
+
)
|
|
33
|
+
from actions.pre_commit.update_requirements.cli import update_requirements_sub_cmd
|
|
34
|
+
from actions.pre_commit.update_requirements.constants import (
|
|
35
|
+
UPDATE_REQUIREMENTS_DOCSTRING,
|
|
36
|
+
UPDATE_REQUIREMENTS_SUB_CMD,
|
|
37
|
+
)
|
|
13
38
|
from actions.publish_package.cli import publish_package_sub_cmd
|
|
39
|
+
from actions.publish_package.constants import (
|
|
40
|
+
PUBLISH_PACKAGE_DOCSTRING,
|
|
41
|
+
PUBLISH_PACKAGE_SUB_CMD,
|
|
42
|
+
)
|
|
14
43
|
from actions.random_sleep.cli import random_sleep_sub_cmd
|
|
15
|
-
from actions.
|
|
44
|
+
from actions.random_sleep.constants import RANDOM_SLEEP_DOCSTRING, RANDOM_SLEEP_SUB_CMD
|
|
45
|
+
from actions.register_gitea_runner.cli import register_gitea_runner_sub_cmd
|
|
46
|
+
from actions.register_gitea_runner.constants import (
|
|
47
|
+
REGISTER_GITEA_RUNNER_DOCSTRING,
|
|
48
|
+
REGISTER_GITEA_RUNNER_SUB_CMD,
|
|
49
|
+
)
|
|
16
50
|
from actions.run_hooks.cli import run_hooks_sub_cmd
|
|
51
|
+
from actions.run_hooks.constants import RUN_HOOKS_DOCSTRING, RUN_HOOKS_SUB_CMD
|
|
17
52
|
from actions.setup_cronjob.cli import setup_cronjob_sub_cmd
|
|
53
|
+
from actions.setup_cronjob.constants import (
|
|
54
|
+
SETUP_CRONJOB_DOCSTRING,
|
|
55
|
+
SETUP_CRONJOB_SUB_CMD,
|
|
56
|
+
)
|
|
18
57
|
from actions.tag_commit.cli import tag_commit_sub_cmd
|
|
58
|
+
from actions.tag_commit.constants import TAG_COMMIT_DOCSTRING, TAG_COMMIT_SUB_CMD
|
|
19
59
|
|
|
20
60
|
|
|
21
61
|
@group(**CONTEXT_SETTINGS)
|
|
22
62
|
def _main() -> None: ...
|
|
23
63
|
|
|
24
64
|
|
|
25
|
-
_ = _main.command(name=
|
|
65
|
+
_ = _main.command(name=CLEAN_DIR_SUB_CMD, help=CLEAN_DIR_SUB_CMD, **CONTEXT_SETTINGS)(
|
|
26
66
|
clean_dir_sub_cmd
|
|
27
67
|
)
|
|
28
68
|
_ = _main.command(
|
|
29
|
-
name=
|
|
30
|
-
)(conformalize_repo_sub_cmd)
|
|
31
|
-
_ = _main.command(
|
|
32
|
-
name="format-requirements", help="Format a set of requirements", **CONTEXT_SETTINGS
|
|
33
|
-
)(format_requirements_sub_cmd)
|
|
34
|
-
_ = _main.command(
|
|
35
|
-
name="publish-package",
|
|
36
|
-
help=actions.publish_package.doc.DOCSTRING,
|
|
37
|
-
**CONTEXT_SETTINGS,
|
|
69
|
+
name=PUBLISH_PACKAGE_SUB_CMD, help=PUBLISH_PACKAGE_DOCSTRING, **CONTEXT_SETTINGS
|
|
38
70
|
)(publish_package_sub_cmd)
|
|
71
|
+
_ = _main.command(name=RUN_HOOKS_SUB_CMD, help=RUN_HOOKS_DOCSTRING, **CONTEXT_SETTINGS)(
|
|
72
|
+
run_hooks_sub_cmd
|
|
73
|
+
)
|
|
74
|
+
_ = _main.command(
|
|
75
|
+
name=RANDOM_SLEEP_SUB_CMD, help=RANDOM_SLEEP_DOCSTRING, **CONTEXT_SETTINGS
|
|
76
|
+
)(random_sleep_sub_cmd)
|
|
39
77
|
_ = _main.command(
|
|
40
|
-
name=
|
|
41
|
-
help=
|
|
78
|
+
name=REGISTER_GITEA_RUNNER_SUB_CMD,
|
|
79
|
+
help=REGISTER_GITEA_RUNNER_DOCSTRING,
|
|
42
80
|
**CONTEXT_SETTINGS,
|
|
43
|
-
)(
|
|
81
|
+
)(register_gitea_runner_sub_cmd)
|
|
44
82
|
_ = _main.command(
|
|
45
|
-
name=
|
|
46
|
-
)(
|
|
83
|
+
name=SETUP_CRONJOB_SUB_CMD, help=SETUP_CRONJOB_DOCSTRING, **CONTEXT_SETTINGS
|
|
84
|
+
)(setup_cronjob_sub_cmd)
|
|
47
85
|
_ = _main.command(
|
|
48
|
-
name=
|
|
49
|
-
)(random_sleep_sub_cmd)
|
|
50
|
-
_ = _main.command(name="setup-cronjob", help="Setup a cronjob", **CONTEXT_SETTINGS)(
|
|
51
|
-
setup_cronjob_sub_cmd
|
|
52
|
-
)
|
|
53
|
-
_ = _main.command(
|
|
54
|
-
name="tag-commit", help=actions.tag_commit.doc.DOCSTRING, **CONTEXT_SETTINGS
|
|
86
|
+
name=TAG_COMMIT_SUB_CMD, help=TAG_COMMIT_DOCSTRING, **CONTEXT_SETTINGS
|
|
55
87
|
)(tag_commit_sub_cmd)
|
|
56
88
|
|
|
57
89
|
|
|
90
|
+
@_main.group(name="pre-commit", help="Pre-commit hooks", **CONTEXT_SETTINGS)
|
|
91
|
+
def pre_commit_sub_cmd() -> None: ...
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
_ = pre_commit_sub_cmd.command(
|
|
95
|
+
name=CONFORMALIZE_REPO_SUB_CMD, help=CONFORMALIZE_REPO_DOCSTRING, **CONTEXT_SETTINGS
|
|
96
|
+
)(conformalize_repo_sub_cmd)
|
|
97
|
+
_ = pre_commit_sub_cmd.command(
|
|
98
|
+
name=FORMAT_REQUIREMENTS_SUB_CMD,
|
|
99
|
+
help=FORMAT_REQUIREMENTS_DOCSTRING,
|
|
100
|
+
**CONTEXT_SETTINGS,
|
|
101
|
+
)(format_requirements_sub_cmd)
|
|
102
|
+
_ = pre_commit_sub_cmd.command(
|
|
103
|
+
name=REPLACE_SEQUENCE_STRS_SUB_CMD,
|
|
104
|
+
help=REPLACE_SEQUENCE_STRS_DOCSTRING,
|
|
105
|
+
**CONTEXT_SETTINGS,
|
|
106
|
+
)(replace_sequence_strs_sub_cmd)
|
|
107
|
+
_ = pre_commit_sub_cmd.command(
|
|
108
|
+
name=TOUCH_EMPTY_PY_SUB_CMD, help=TOUCH_EMPTY_PY_DOCSTRING, **CONTEXT_SETTINGS
|
|
109
|
+
)(touch_empty_py_sub_cmd)
|
|
110
|
+
_ = pre_commit_sub_cmd.command(
|
|
111
|
+
name=TOUCH_PY_TYPED_SUB_CMD, help=TOUCH_PY_TYPED_DOCSTRING, **CONTEXT_SETTINGS
|
|
112
|
+
)(touch_py_typed_sub_cmd)
|
|
113
|
+
_ = pre_commit_sub_cmd.command(
|
|
114
|
+
name=UPDATE_REQUIREMENTS_SUB_CMD,
|
|
115
|
+
help=UPDATE_REQUIREMENTS_DOCSTRING,
|
|
116
|
+
**CONTEXT_SETTINGS,
|
|
117
|
+
)(update_requirements_sub_cmd)
|
|
118
|
+
|
|
58
119
|
if __name__ == "__main__":
|
|
59
120
|
_main()
|
actions/constants.py
CHANGED
|
@@ -2,9 +2,13 @@ from __future__ import annotations
|
|
|
2
2
|
|
|
3
3
|
from ruamel.yaml import YAML
|
|
4
4
|
from utilities.importlib import files
|
|
5
|
+
from utilities.pathlib import get_repo_root
|
|
6
|
+
from xdg_base_dirs import xdg_cache_home
|
|
5
7
|
|
|
6
8
|
PATH_ACTIONS = files(anchor="actions")
|
|
9
|
+
PATH_CACHE = xdg_cache_home() / "actions"
|
|
10
|
+
PATH_THROTTLE_CACHE = PATH_CACHE / "throttle" / get_repo_root().name
|
|
7
11
|
YAML_INSTANCE = YAML()
|
|
8
12
|
|
|
9
13
|
|
|
10
|
-
__all__ = ["PATH_ACTIONS", "YAML_INSTANCE"]
|
|
14
|
+
__all__ = ["PATH_ACTIONS", "PATH_CACHE", "PATH_THROTTLE_CACHE", "YAML_INSTANCE"]
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
from pathlib import Path
|
|
4
|
+
|
|
5
|
+
import click
|
|
6
|
+
from click import argument
|
|
7
|
+
|
|
8
|
+
path_argument = argument(
|
|
9
|
+
"paths",
|
|
10
|
+
nargs=-1,
|
|
11
|
+
type=click.Path(exists=True, file_okay=True, dir_okay=False, path_type=Path),
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
__all__ = ["path_argument"]
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
from rich.pretty import pretty_repr
|
|
4
3
|
from typed_settings import click_options
|
|
5
4
|
from utilities.logging import basic_config
|
|
6
5
|
from utilities.os import is_pytest
|
|
7
|
-
from utilities.text import strip_and_dedent
|
|
8
6
|
|
|
9
|
-
from actions import __version__
|
|
10
|
-
from actions.conformalize_repo.lib import conformalize_repo
|
|
11
|
-
from actions.conformalize_repo.settings import Settings
|
|
12
7
|
from actions.logging import LOGGER
|
|
8
|
+
from actions.pre_commit.conformalize_repo.lib import conformalize_repo
|
|
9
|
+
from actions.pre_commit.conformalize_repo.settings import Settings
|
|
13
10
|
from actions.utilities import LOADER
|
|
14
11
|
|
|
15
12
|
|
|
@@ -18,15 +15,6 @@ def conformalize_repo_sub_cmd(settings: Settings, /) -> None:
|
|
|
18
15
|
if is_pytest():
|
|
19
16
|
return
|
|
20
17
|
basic_config(obj=LOGGER)
|
|
21
|
-
LOGGER.info(
|
|
22
|
-
strip_and_dedent("""
|
|
23
|
-
Running '%s' (version %s) with settings:
|
|
24
|
-
%s
|
|
25
|
-
"""),
|
|
26
|
-
conformalize_repo.__name__,
|
|
27
|
-
__version__,
|
|
28
|
-
pretty_repr(settings),
|
|
29
|
-
)
|
|
30
18
|
conformalize_repo(
|
|
31
19
|
coverage=settings.coverage,
|
|
32
20
|
description=settings.description,
|
|
@@ -6,7 +6,7 @@ from re import search
|
|
|
6
6
|
from utilities.pathlib import get_repo_root
|
|
7
7
|
from utilities.pytest import IS_CI
|
|
8
8
|
|
|
9
|
-
from actions.constants import
|
|
9
|
+
from actions.pre_commit.constants import PATH_PRE_COMMIT
|
|
10
10
|
|
|
11
11
|
ACTIONS_URL = "https://github.com/dycw/actions"
|
|
12
12
|
DOCKERFMT_URL = "https://github.com/reteps/dockerfmt"
|
|
@@ -31,6 +31,10 @@ REPO_ROOT = get_repo_root()
|
|
|
31
31
|
RUFF_TOML = Path("ruff.toml")
|
|
32
32
|
|
|
33
33
|
|
|
34
|
+
CONFORMALIZE_REPO_DOCSTRING = "Conformalize a repo"
|
|
35
|
+
CONFORMALIZE_REPO_SUB_CMD = "conformalize-repo"
|
|
36
|
+
|
|
37
|
+
|
|
34
38
|
MAX_PYTHON_VERSION = "3.14"
|
|
35
39
|
|
|
36
40
|
|
|
@@ -40,12 +44,14 @@ RUN_VERSION_BUMP = (search("template", str(REPO_ROOT)) is None) and not IS_CI
|
|
|
40
44
|
GITHUB_WORKFLOWS = Path(".github/workflows")
|
|
41
45
|
GITHUB_PULL_REQUEST_YAML = GITHUB_WORKFLOWS / "pull-request.yaml"
|
|
42
46
|
GITHUB_PUSH_YAML = GITHUB_WORKFLOWS / "push.yaml"
|
|
43
|
-
PATH_CONFIGS =
|
|
47
|
+
PATH_CONFIGS = PATH_PRE_COMMIT / "conformalize_repo/configs"
|
|
44
48
|
|
|
45
49
|
|
|
46
50
|
__all__ = [
|
|
47
51
|
"ACTIONS_URL",
|
|
48
52
|
"BUMPVERSION_TOML",
|
|
53
|
+
"CONFORMALIZE_REPO_DOCSTRING",
|
|
54
|
+
"CONFORMALIZE_REPO_SUB_CMD",
|
|
49
55
|
"COVERAGERC_TOML",
|
|
50
56
|
"DOCKERFMT_URL",
|
|
51
57
|
"ENVRC",
|