pyrig-dev-overrides 0.1.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_overrides-0.1.0/LICENSE +21 -0
- pyrig_dev_overrides-0.1.0/PKG-INFO +62 -0
- pyrig_dev_overrides-0.1.0/README.md +35 -0
- pyrig_dev_overrides-0.1.0/pyproject.toml +112 -0
- pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/__init__.py +1 -0
- pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/py.typed +0 -0
- pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/rig/__init__.py +1 -0
- pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/rig/configs/__init__.py +1 -0
- pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/rig/configs/remote_version_control/__init__.py +1 -0
- pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/rig/configs/remote_version_control/workflows/__init__.py +1 -0
- pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/rig/configs/remote_version_control/workflows/health_check.py +26 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Winipedia
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pyrig-dev-overrides
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A simple package that contains overrides for pyrig-dev.
|
|
5
|
+
Keywords: pyrig
|
|
6
|
+
Author: Winipedia
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
Classifier: Programming Language :: Python
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Typing :: Typed
|
|
17
|
+
Requires-Dist: pyrig>=15.0.0
|
|
18
|
+
Requires-Dist: pyrig-codecov>=1.4.0
|
|
19
|
+
Maintainer: Winipedia
|
|
20
|
+
Requires-Python: >=3.12
|
|
21
|
+
Project-URL: Homepage, https://github.com/Winipedia/pyrig-dev-overrides
|
|
22
|
+
Project-URL: Documentation, https://Winipedia.github.io/pyrig-dev-overrides
|
|
23
|
+
Project-URL: Source, https://github.com/Winipedia/pyrig-dev-overrides
|
|
24
|
+
Project-URL: Issues, https://github.com/Winipedia/pyrig-dev-overrides/issues
|
|
25
|
+
Project-URL: Changelog, https://github.com/Winipedia/pyrig-dev-overrides/releases
|
|
26
|
+
Description-Content-Type: text/markdown
|
|
27
|
+
|
|
28
|
+
# pyrig-dev-overrides
|
|
29
|
+
|
|
30
|
+
<!-- security -->
|
|
31
|
+
[](https://github.com/pypa/pip-audit)
|
|
32
|
+
[](https://github.com/PyCQA/bandit)
|
|
33
|
+
<!-- ci/cd -->
|
|
34
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/health_check.yml)
|
|
35
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/deploy.yml)
|
|
36
|
+
<!-- code-quality -->
|
|
37
|
+
[](https://github.com/osprey-oss/deptry)
|
|
38
|
+
[](https://github.com/rvben/rumdl)
|
|
39
|
+
[](https://github.com/astral-sh/ruff)
|
|
40
|
+
[](https://github.com/astral-sh/ty)
|
|
41
|
+
[](https://github.com/j178/prek)
|
|
42
|
+
<!-- testing -->
|
|
43
|
+
[](https://codecov.io/gh/Winipedia/pyrig-dev-overrides)
|
|
44
|
+
[](https://pytest.org)
|
|
45
|
+
<!-- tooling -->
|
|
46
|
+
[](https://github.com/astral-sh/uv)
|
|
47
|
+
[](https://github.com/Winipedia/pyrig)
|
|
48
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides)
|
|
49
|
+
[](https://git-scm.com)
|
|
50
|
+
<!-- documentation -->
|
|
51
|
+
[](https://www.mkdocs.org)
|
|
52
|
+
[](https://Winipedia.github.io/pyrig-dev-overrides)
|
|
53
|
+
<!-- project-info -->
|
|
54
|
+
[](https://pypi.org/project/pyrig-dev-overrides)
|
|
55
|
+
[](https://www.python.org)
|
|
56
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides/blob/main/LICENSE)
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
> A simple package that contains overrides for pyrig-dev.
|
|
61
|
+
|
|
62
|
+
---
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# pyrig-dev-overrides
|
|
2
|
+
|
|
3
|
+
<!-- security -->
|
|
4
|
+
[](https://github.com/pypa/pip-audit)
|
|
5
|
+
[](https://github.com/PyCQA/bandit)
|
|
6
|
+
<!-- ci/cd -->
|
|
7
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/health_check.yml)
|
|
8
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/deploy.yml)
|
|
9
|
+
<!-- code-quality -->
|
|
10
|
+
[](https://github.com/osprey-oss/deptry)
|
|
11
|
+
[](https://github.com/rvben/rumdl)
|
|
12
|
+
[](https://github.com/astral-sh/ruff)
|
|
13
|
+
[](https://github.com/astral-sh/ty)
|
|
14
|
+
[](https://github.com/j178/prek)
|
|
15
|
+
<!-- testing -->
|
|
16
|
+
[](https://codecov.io/gh/Winipedia/pyrig-dev-overrides)
|
|
17
|
+
[](https://pytest.org)
|
|
18
|
+
<!-- tooling -->
|
|
19
|
+
[](https://github.com/astral-sh/uv)
|
|
20
|
+
[](https://github.com/Winipedia/pyrig)
|
|
21
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides)
|
|
22
|
+
[](https://git-scm.com)
|
|
23
|
+
<!-- documentation -->
|
|
24
|
+
[](https://www.mkdocs.org)
|
|
25
|
+
[](https://Winipedia.github.io/pyrig-dev-overrides)
|
|
26
|
+
<!-- project-info -->
|
|
27
|
+
[](https://pypi.org/project/pyrig-dev-overrides)
|
|
28
|
+
[](https://www.python.org)
|
|
29
|
+
[](https://github.com/Winipedia/pyrig-dev-overrides/blob/main/LICENSE)
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
> A simple package that contains overrides for pyrig-dev.
|
|
34
|
+
|
|
35
|
+
---
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "pyrig-dev-overrides"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "A simple package that contains overrides for pyrig-dev."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"pyrig>=15.0.0",
|
|
9
|
+
"pyrig-codecov>=1.4.0",
|
|
10
|
+
]
|
|
11
|
+
license = "MIT"
|
|
12
|
+
license-files = [
|
|
13
|
+
"LICENSE",
|
|
14
|
+
]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"Programming Language :: Python",
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
19
|
+
"Programming Language :: Python :: 3.12",
|
|
20
|
+
"Programming Language :: Python :: 3.13",
|
|
21
|
+
"Programming Language :: Python :: 3.14",
|
|
22
|
+
"Operating System :: OS Independent",
|
|
23
|
+
"Typing :: Typed",
|
|
24
|
+
]
|
|
25
|
+
keywords = [
|
|
26
|
+
"pyrig",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[[project.authors]]
|
|
30
|
+
name = "Winipedia"
|
|
31
|
+
|
|
32
|
+
[[project.maintainers]]
|
|
33
|
+
name = "Winipedia"
|
|
34
|
+
|
|
35
|
+
[project.urls]
|
|
36
|
+
Homepage = "https://github.com/Winipedia/pyrig-dev-overrides"
|
|
37
|
+
Documentation = "https://Winipedia.github.io/pyrig-dev-overrides"
|
|
38
|
+
Source = "https://github.com/Winipedia/pyrig-dev-overrides"
|
|
39
|
+
Issues = "https://github.com/Winipedia/pyrig-dev-overrides/issues"
|
|
40
|
+
Changelog = "https://github.com/Winipedia/pyrig-dev-overrides/releases"
|
|
41
|
+
|
|
42
|
+
[project.scripts]
|
|
43
|
+
pyrig-dev-overrides = "pyrig.rig.cli.main:main"
|
|
44
|
+
|
|
45
|
+
[dependency-groups]
|
|
46
|
+
dev = [
|
|
47
|
+
"bandit",
|
|
48
|
+
"deptry",
|
|
49
|
+
"mkdocs",
|
|
50
|
+
"mkdocs-material",
|
|
51
|
+
"mkdocs-mermaid2-plugin",
|
|
52
|
+
"mkdocstrings[python]",
|
|
53
|
+
"pip-audit",
|
|
54
|
+
"prek",
|
|
55
|
+
"pyrig-codecov>=1.4.0",
|
|
56
|
+
"pyrig-dev",
|
|
57
|
+
"pyrig-pypi>=1.6.0",
|
|
58
|
+
"pytest",
|
|
59
|
+
"pytest-cov",
|
|
60
|
+
"ruff",
|
|
61
|
+
"rumdl",
|
|
62
|
+
"ty",
|
|
63
|
+
]
|
|
64
|
+
|
|
65
|
+
[build-system]
|
|
66
|
+
requires = [
|
|
67
|
+
"uv_build",
|
|
68
|
+
]
|
|
69
|
+
build-backend = "uv_build"
|
|
70
|
+
|
|
71
|
+
[tool.ruff.lint]
|
|
72
|
+
select = [
|
|
73
|
+
"ALL",
|
|
74
|
+
]
|
|
75
|
+
ignore = [
|
|
76
|
+
"COM812",
|
|
77
|
+
"ANN401",
|
|
78
|
+
]
|
|
79
|
+
fixable = [
|
|
80
|
+
"ALL",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[tool.ruff.lint.per-file-ignores]
|
|
84
|
+
"**/tests/**/*.py" = [
|
|
85
|
+
"S101",
|
|
86
|
+
]
|
|
87
|
+
|
|
88
|
+
[tool.ruff.lint.pydocstyle]
|
|
89
|
+
convention = "google"
|
|
90
|
+
|
|
91
|
+
[tool.ty.terminal]
|
|
92
|
+
error-on-warning = true
|
|
93
|
+
|
|
94
|
+
[tool.pytest.ini_options]
|
|
95
|
+
testpaths = [
|
|
96
|
+
"tests",
|
|
97
|
+
]
|
|
98
|
+
addopts = "--cov=pyrig_dev_overrides --cov-branch --cov-report=term-missing --cov-fail-under=100 --cov-report=xml"
|
|
99
|
+
|
|
100
|
+
[tool.bandit.assert_used]
|
|
101
|
+
skips = [
|
|
102
|
+
"*/tests/*.py",
|
|
103
|
+
"*/test_*/*.py",
|
|
104
|
+
]
|
|
105
|
+
|
|
106
|
+
[tool.deptry]
|
|
107
|
+
root = "src"
|
|
108
|
+
|
|
109
|
+
[tool.deptry.per_rule_ignores]
|
|
110
|
+
DEP002 = [
|
|
111
|
+
"pyrig",
|
|
112
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""The top-level package for the project."""
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Package initialization."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Package initialization."""
|
pyrig_dev_overrides-0.1.0/src/pyrig_dev_overrides/rig/configs/remote_version_control/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Package initialization."""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Package initialization."""
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""pyrig-dev specific override of the HealthCheckWorkflowConfigFile."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
from pyrig.rig.tools.version_control.remote import RemoteVersionController
|
|
6
|
+
from pyrig_codecov.rig.configs.remote_version_control.workflows.health_check import (
|
|
7
|
+
HealthCheckWorkflowConfigFile as BaseHealthCheckWorkflowConfigFile,
|
|
8
|
+
)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class HealthCheckWorkflowConfigFile(BaseHealthCheckWorkflowConfigFile):
|
|
12
|
+
"""pyrig-dev specific override of the health check workflow config file."""
|
|
13
|
+
|
|
14
|
+
def step_run_tests(self, *, step: dict[str, Any] | None = None) -> dict[str, Any]:
|
|
15
|
+
"""pyrig-dev specific override of the test step.
|
|
16
|
+
|
|
17
|
+
Adds the repository access token to the environment variables of
|
|
18
|
+
the test step, to allow pyrig's test suite to test API calls that
|
|
19
|
+
require authentication.
|
|
20
|
+
"""
|
|
21
|
+
if step is None:
|
|
22
|
+
step = {}
|
|
23
|
+
step["env"] = {
|
|
24
|
+
RemoteVersionController.I.access_token_key(): self.insert_repo_token()
|
|
25
|
+
}
|
|
26
|
+
return super().step_run_tests(step=step)
|