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.
@@ -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
+ [![DependencyAuditor](https://img.shields.io/badge/security-pip--audit-blue?logo=python)](https://github.com/pypa/pip-audit)
32
+ [![SecurityChecker](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
33
+ <!-- ci/cd -->
34
+ [![CI](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-dev-overrides/health_check.yml?label=CI&logo=github)](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/health_check.yml)
35
+ [![CD](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-dev-overrides/deploy.yml?label=CD&logo=github)](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/deploy.yml)
36
+ <!-- code-quality -->
37
+ [![DependencyChecker](https://img.shields.io/badge/dependencies-deptry-blue)](https://github.com/osprey-oss/deptry)
38
+ [![MarkdownLinter](https://img.shields.io/badge/markdown-rumdl-darkgreen)](https://github.com/rvben/rumdl)
39
+ [![PythonLinter](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
40
+ [![TypeChecker](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty)
41
+ [![VersionControlHookManager](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json)](https://github.com/j178/prek)
42
+ <!-- testing -->
43
+ [![CoverageTester](https://codecov.io/gh/Winipedia/pyrig-dev-overrides/branch/main/graph/badge.svg)](https://codecov.io/gh/Winipedia/pyrig-dev-overrides)
44
+ [![ProjectTester](https://img.shields.io/badge/tested%20with-pytest-46a2f1.svg?logo=pytest)](https://pytest.org)
45
+ <!-- tooling -->
46
+ [![PackageManager](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
47
+ [![Pyrigger](https://img.shields.io/badge/built%20with-pyrig-3776AB?logo=buildkite&logoColor=black)](https://github.com/Winipedia/pyrig)
48
+ [![RemoteVersionController](https://img.shields.io/github/stars/Winipedia/pyrig-dev-overrides?style=social)](https://github.com/Winipedia/pyrig-dev-overrides)
49
+ [![VersionController](https://img.shields.io/badge/Git-F05032?logo=git&logoColor=white)](https://git-scm.com)
50
+ <!-- documentation -->
51
+ [![DocsBuilder](https://img.shields.io/badge/MkDocs-Documentation-326CE5?logo=mkdocs&logoColor=white)](https://www.mkdocs.org)
52
+ [![Documentation](https://img.shields.io/badge/Docs-GitHub%20Pages-black?style=for-the-badge&logo=github&logoColor=white)](https://Winipedia.github.io/pyrig-dev-overrides)
53
+ <!-- project-info -->
54
+ [![PackageIndex](https://img.shields.io/pypi/v/pyrig-dev-overrides?logo=pypi&logoColor=white)](https://pypi.org/project/pyrig-dev-overrides)
55
+ [![ProgrammingLanguage](https://img.shields.io/pypi/pyversions/pyrig-dev-overrides)](https://www.python.org)
56
+ [![License](https://img.shields.io/github/license/Winipedia/pyrig-dev-overrides)](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
+ [![DependencyAuditor](https://img.shields.io/badge/security-pip--audit-blue?logo=python)](https://github.com/pypa/pip-audit)
5
+ [![SecurityChecker](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
6
+ <!-- ci/cd -->
7
+ [![CI](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-dev-overrides/health_check.yml?label=CI&logo=github)](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/health_check.yml)
8
+ [![CD](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-dev-overrides/deploy.yml?label=CD&logo=github)](https://github.com/Winipedia/pyrig-dev-overrides/actions/workflows/deploy.yml)
9
+ <!-- code-quality -->
10
+ [![DependencyChecker](https://img.shields.io/badge/dependencies-deptry-blue)](https://github.com/osprey-oss/deptry)
11
+ [![MarkdownLinter](https://img.shields.io/badge/markdown-rumdl-darkgreen)](https://github.com/rvben/rumdl)
12
+ [![PythonLinter](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
13
+ [![TypeChecker](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ty/main/assets/badge/v0.json)](https://github.com/astral-sh/ty)
14
+ [![VersionControlHookManager](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json)](https://github.com/j178/prek)
15
+ <!-- testing -->
16
+ [![CoverageTester](https://codecov.io/gh/Winipedia/pyrig-dev-overrides/branch/main/graph/badge.svg)](https://codecov.io/gh/Winipedia/pyrig-dev-overrides)
17
+ [![ProjectTester](https://img.shields.io/badge/tested%20with-pytest-46a2f1.svg?logo=pytest)](https://pytest.org)
18
+ <!-- tooling -->
19
+ [![PackageManager](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
20
+ [![Pyrigger](https://img.shields.io/badge/built%20with-pyrig-3776AB?logo=buildkite&logoColor=black)](https://github.com/Winipedia/pyrig)
21
+ [![RemoteVersionController](https://img.shields.io/github/stars/Winipedia/pyrig-dev-overrides?style=social)](https://github.com/Winipedia/pyrig-dev-overrides)
22
+ [![VersionController](https://img.shields.io/badge/Git-F05032?logo=git&logoColor=white)](https://git-scm.com)
23
+ <!-- documentation -->
24
+ [![DocsBuilder](https://img.shields.io/badge/MkDocs-Documentation-326CE5?logo=mkdocs&logoColor=white)](https://www.mkdocs.org)
25
+ [![Documentation](https://img.shields.io/badge/Docs-GitHub%20Pages-black?style=for-the-badge&logo=github&logoColor=white)](https://Winipedia.github.io/pyrig-dev-overrides)
26
+ <!-- project-info -->
27
+ [![PackageIndex](https://img.shields.io/pypi/v/pyrig-dev-overrides?logo=pypi&logoColor=white)](https://pypi.org/project/pyrig-dev-overrides)
28
+ [![ProgrammingLanguage](https://img.shields.io/pypi/pyversions/pyrig-dev-overrides)](https://www.python.org)
29
+ [![License](https://img.shields.io/github/license/Winipedia/pyrig-dev-overrides)](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."""
@@ -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)