pyrig-dev 2.0.0__tar.gz → 2.2.0__tar.gz
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.
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/PKG-INFO +4 -5
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/README.md +3 -4
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/pyproject.toml +1 -1
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/configs/pyproject.py +8 -5
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/tests/fixtures/fixtures.py +12 -1
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/LICENSE +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/py.typed +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/configs/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/configs/remote_version_control/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/configs/remote_version_control/workflows/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/configs/remote_version_control/workflows/health_check.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/tests/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/tests/fixtures/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/tools/__init__.py +0 -0
- {pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/tools/dependency_auditor.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyrig-dev
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: A package that handles the dev dependencies of pyrig.
|
|
5
5
|
Keywords:
|
|
6
6
|
Author: Winipedia
|
|
@@ -69,10 +69,9 @@ Description-Content-Type: text/markdown
|
|
|
69
69
|
dependency keeps pyrig's own `pyproject.toml` clean and gives every project
|
|
70
70
|
built with pyrig the same dev toolchain.
|
|
71
71
|
|
|
72
|
-
It also
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
unaffected.
|
|
72
|
+
It also overrides some pyrig classes to handle pyrig-specific needs.
|
|
73
|
+
Those are guarded and only apply if the project being developed is pyrig.
|
|
74
|
+
Other projects are unaffected.
|
|
76
75
|
|
|
77
76
|
## Installation
|
|
78
77
|
|
|
@@ -38,10 +38,9 @@
|
|
|
38
38
|
dependency keeps pyrig's own `pyproject.toml` clean and gives every project
|
|
39
39
|
built with pyrig the same dev toolchain.
|
|
40
40
|
|
|
41
|
-
It also
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
unaffected.
|
|
41
|
+
It also overrides some pyrig classes to handle pyrig-specific needs.
|
|
42
|
+
Those are guarded and only apply if the project being developed is pyrig.
|
|
43
|
+
Other projects are unaffected.
|
|
45
44
|
|
|
46
45
|
## Installation
|
|
47
46
|
|
|
@@ -65,13 +65,15 @@ if is_src_package(pyrig):
|
|
|
65
65
|
"""
|
|
66
66
|
return [
|
|
67
67
|
"project-setup",
|
|
68
|
-
"automation",
|
|
69
68
|
"scaffolding",
|
|
70
|
-
"
|
|
71
|
-
"
|
|
69
|
+
"boilerplate",
|
|
70
|
+
"project-template",
|
|
71
|
+
"automation",
|
|
72
|
+
"configuration",
|
|
73
|
+
"developer-tools",
|
|
74
|
+
"code-quality",
|
|
72
75
|
"ci-cd",
|
|
73
76
|
"devops",
|
|
74
|
-
"packaging",
|
|
75
77
|
]
|
|
76
78
|
|
|
77
79
|
def additional_classifiers(self) -> list[str]:
|
|
@@ -83,11 +85,12 @@ if is_src_package(pyrig):
|
|
|
83
85
|
"""
|
|
84
86
|
return [
|
|
85
87
|
"Development Status :: 5 - Production/Stable",
|
|
88
|
+
"Environment :: Console",
|
|
86
89
|
"Intended Audience :: Developers",
|
|
87
90
|
"Topic :: Software Development :: Build Tools",
|
|
91
|
+
"Topic :: Software Development :: Code Generators",
|
|
88
92
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
89
93
|
"Topic :: Software Development :: Quality Assurance",
|
|
90
94
|
"Topic :: Software Development :: Testing",
|
|
91
95
|
"Topic :: System :: Installation/Setup",
|
|
92
|
-
"Topic :: System :: Software Distribution",
|
|
93
96
|
]
|
|
@@ -16,7 +16,7 @@ from pytest_mock import MockerFixture
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
@pytest.fixture
|
|
19
|
-
def
|
|
19
|
+
def register_module_as_src_package(
|
|
20
20
|
mocker: MockerFixture,
|
|
21
21
|
) -> Callable[[ModuleType, type], None]:
|
|
22
22
|
"""Return a callable that registers a module as a pyrig source module.
|
|
@@ -35,6 +35,17 @@ def register_module_as_pyrig_module(
|
|
|
35
35
|
"""
|
|
36
36
|
|
|
37
37
|
def register(module: ModuleType, cls: type) -> None:
|
|
38
|
+
"""Register ``module`` as a pyrig source module.
|
|
39
|
+
|
|
40
|
+
Patches ``is_src_package`` to report ``True`` and reimports ``module``
|
|
41
|
+
so its gated override class is registered as a subclass. Returns early
|
|
42
|
+
without reimporting if ``cls`` is already present on the module.
|
|
43
|
+
|
|
44
|
+
Args:
|
|
45
|
+
module: The override module to (re)import as a pyrig module.
|
|
46
|
+
cls: The override class whose presence marks ``module`` as already
|
|
47
|
+
registered.
|
|
48
|
+
"""
|
|
38
49
|
is_package_mock = mocker.patch(
|
|
39
50
|
is_src_package.__module__ + "." + is_src_package.__name__,
|
|
40
51
|
return_value=True,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyrig_dev-2.0.0 → pyrig_dev-2.2.0}/src/pyrig_dev/rig/configs/remote_version_control/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|