pyrig-private 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,98 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyrig-private
3
+ Version: 0.1.0
4
+ Summary: A pyrig plugin for private repository functionality.
5
+ Keywords: pyrig
6
+ Author: Winipedia
7
+ Author-email: Winipedia <winipedia@gmx.de>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Operating System :: OS Independent
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: Typing :: Typed
16
+ Requires-Dist: pyrig>=18.94.5
17
+ Requires-Dist: pyrig-runtime>=3.24.2
18
+ Maintainer: Winipedia
19
+ Maintainer-email: Winipedia <winipedia@gmx.de>
20
+ Requires-Python: >=3.12
21
+ Project-URL: Changelog, https://github.com/Winipedia/pyrig-private/releases
22
+ Project-URL: Documentation, https://Winipedia.github.io/pyrig-private
23
+ Project-URL: Homepage, https://github.com/Winipedia/pyrig-private
24
+ Project-URL: Issues, https://github.com/Winipedia/pyrig-private/issues
25
+ Project-URL: Source, https://github.com/Winipedia/pyrig-private
26
+ Description-Content-Type: text/markdown
27
+
28
+ # pyrig-private
29
+
30
+ <!-- project-status -->
31
+ [![CI](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-private/health_check.yml?label=CI&logo=github)](https://github.com/Winipedia/pyrig-private/actions/workflows/health_check.yml)
32
+ [![CD](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-private/release.yml?label=CD&logo=github)](https://github.com/Winipedia/pyrig-private/actions/workflows/release.yml)
33
+ [![ProjectTester](https://codecov.io/gh/Winipedia/pyrig-private/branch/main/graph/badge.svg)](https://codecov.io/gh/Winipedia/pyrig-private)
34
+ <!-- code-quality -->
35
+ [![ByteOrderMarkerFormatter](https://img.shields.io/badge/BOM-fix--byte--order--marker-orange)](https://github.com/pre-commit/pre-commit-hooks)
36
+ [![CICDLinter](https://img.shields.io/badge/CI/CD-actionlint-blue)](https://github.com/rhysd/actionlint)
37
+ [![CICDSecurityChecker](https://img.shields.io/badge/CI/CD--security-zizmor-yellow)](https://github.com/zizmorcore/zizmor)
38
+ [![CaseConflictChecker](https://img.shields.io/badge/case--conflict-check--case--conflict-blue)](https://github.com/pre-commit/pre-commit-hooks)
39
+ [![DependencyChecker](https://img.shields.io/badge/dependencies-deptry-blue)](https://github.com/osprey-oss/deptry)
40
+ [![EndOfFileFormatter](https://img.shields.io/badge/EOF-end--of--file--fixer-orange)](https://github.com/pre-commit/pre-commit-hooks)
41
+ [![EndOfLineFormatter](https://img.shields.io/badge/EOL-mixed--line--ending-orange)](https://github.com/pre-commit/pre-commit-hooks)
42
+ [![JSONFormatter](https://img.shields.io/badge/JSON-pretty--format--json-orange)](https://github.com/pre-commit/pre-commit-hooks)
43
+ [![JSONLinter](https://img.shields.io/badge/JSON-check--json-blue)](https://github.com/pre-commit/pre-commit-hooks)
44
+ [![LargeFileChecker](https://img.shields.io/badge/large--files-check--added--large--files-blue)](https://github.com/pre-commit/pre-commit-hooks)
45
+ [![MarkdownLinter](https://img.shields.io/badge/Markdown-rumdl-darkgreen)](https://github.com/rvben/rumdl)
46
+ [![MergeConflictChecker](https://img.shields.io/badge/merge--conflict-check--merge--conflict-blue)](https://github.com/pre-commit/pre-commit-hooks)
47
+ [![ModuleTestNamingChecker](https://img.shields.io/badge/test--naming-name--tests--test-blue)](https://github.com/pre-commit/pre-commit-hooks)
48
+ [![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)
49
+ [![SecretsChecker](https://img.shields.io/badge/secrets-detect--secrets-blue)](https://github.com/Yelp/detect-secrets)
50
+ [![SecurityChecker](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
51
+ [![ShellFormatter](https://img.shields.io/badge/shell-shfmt-orange)](https://github.com/mvdan/sh)
52
+ [![ShellLinter](https://img.shields.io/badge/shell-shellcheck-blue)](https://github.com/koalaman/shellcheck)
53
+ [![SpellChecker](https://img.shields.io/badge/spell--check-typos-blue)](https://github.com/crate-ci/typos)
54
+ [![TOMLLinter](https://img.shields.io/badge/TOML-tombi-blueviolet)](https://github.com/tombi-toml/tombi)
55
+ [![TrailingWhitespaceFormatter](https://img.shields.io/badge/whitespace-trailing--whitespace--fixer-orange)](https://github.com/pre-commit/pre-commit-hooks)
56
+ [![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)
57
+ [![YAMLLinter](https://img.shields.io/badge/YAML-ryl-red)](https://github.com/owenlamont/ryl)
58
+ <!-- tooling -->
59
+ [![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)
60
+ [![Pyrigger](https://img.shields.io/badge/built%20with-pyrig-3776AB?logo=buildkite&logoColor=black)](https://github.com/Winipedia/pyrig)
61
+ [![RemoteVersionController](https://img.shields.io/github/stars/Winipedia/pyrig-private?style=social)](https://github.com/Winipedia/pyrig-private)
62
+ [![VersionControlHookManager](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json)](https://github.com/j178/prek)
63
+ [![VersionController](https://img.shields.io/badge/Git-F05032?logo=git&logoColor=white)](https://git-scm.com)
64
+ <!-- project-info -->
65
+ [![DocsBuilder](https://img.shields.io/badge/Documentation-zensical-326CE5)](https://Winipedia.github.io/pyrig-private)
66
+ [![PackageIndex](https://img.shields.io/pypi/v/pyrig-private?logo=pypi&logoColor=white)](https://pypi.org/project/pyrig-private)
67
+ [![ProgrammingLanguage](https://img.shields.io/pypi/pyversions/pyrig-private)](https://www.python.org)
68
+ [![License](https://img.shields.io/github/license/Winipedia/pyrig-private)](https://github.com/Winipedia/pyrig-private/blob/main/LICENSE)
69
+
70
+ ---
71
+
72
+ > A pyrig plugin for private repository functionality.
73
+
74
+ ---
75
+
76
+ ## Overview
77
+
78
+ `pyrig-private` is a [pyrig](https://github.com/Winipedia/pyrig) plugin that
79
+ configures GitHub features for private repositories.
80
+
81
+ ## What it adds
82
+
83
+ - **Private visibility** — configures the repository to be private.
84
+
85
+ ## Usage
86
+
87
+ ```bash
88
+ uv add pyrig-private --dev
89
+ uv run pyrig sync
90
+ ```
91
+
92
+ Applying the generated repository settings makes the repository private. Review
93
+ its contents and GitHub's visibility-change consequences before applying them.
94
+
95
+ ## Documentation
96
+
97
+ See the [documentation site](https://Winipedia.github.io/pyrig-private) for
98
+ configuration details.
@@ -0,0 +1,71 @@
1
+ # pyrig-private
2
+
3
+ <!-- project-status -->
4
+ [![CI](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-private/health_check.yml?label=CI&logo=github)](https://github.com/Winipedia/pyrig-private/actions/workflows/health_check.yml)
5
+ [![CD](https://img.shields.io/github/actions/workflow/status/Winipedia/pyrig-private/release.yml?label=CD&logo=github)](https://github.com/Winipedia/pyrig-private/actions/workflows/release.yml)
6
+ [![ProjectTester](https://codecov.io/gh/Winipedia/pyrig-private/branch/main/graph/badge.svg)](https://codecov.io/gh/Winipedia/pyrig-private)
7
+ <!-- code-quality -->
8
+ [![ByteOrderMarkerFormatter](https://img.shields.io/badge/BOM-fix--byte--order--marker-orange)](https://github.com/pre-commit/pre-commit-hooks)
9
+ [![CICDLinter](https://img.shields.io/badge/CI/CD-actionlint-blue)](https://github.com/rhysd/actionlint)
10
+ [![CICDSecurityChecker](https://img.shields.io/badge/CI/CD--security-zizmor-yellow)](https://github.com/zizmorcore/zizmor)
11
+ [![CaseConflictChecker](https://img.shields.io/badge/case--conflict-check--case--conflict-blue)](https://github.com/pre-commit/pre-commit-hooks)
12
+ [![DependencyChecker](https://img.shields.io/badge/dependencies-deptry-blue)](https://github.com/osprey-oss/deptry)
13
+ [![EndOfFileFormatter](https://img.shields.io/badge/EOF-end--of--file--fixer-orange)](https://github.com/pre-commit/pre-commit-hooks)
14
+ [![EndOfLineFormatter](https://img.shields.io/badge/EOL-mixed--line--ending-orange)](https://github.com/pre-commit/pre-commit-hooks)
15
+ [![JSONFormatter](https://img.shields.io/badge/JSON-pretty--format--json-orange)](https://github.com/pre-commit/pre-commit-hooks)
16
+ [![JSONLinter](https://img.shields.io/badge/JSON-check--json-blue)](https://github.com/pre-commit/pre-commit-hooks)
17
+ [![LargeFileChecker](https://img.shields.io/badge/large--files-check--added--large--files-blue)](https://github.com/pre-commit/pre-commit-hooks)
18
+ [![MarkdownLinter](https://img.shields.io/badge/Markdown-rumdl-darkgreen)](https://github.com/rvben/rumdl)
19
+ [![MergeConflictChecker](https://img.shields.io/badge/merge--conflict-check--merge--conflict-blue)](https://github.com/pre-commit/pre-commit-hooks)
20
+ [![ModuleTestNamingChecker](https://img.shields.io/badge/test--naming-name--tests--test-blue)](https://github.com/pre-commit/pre-commit-hooks)
21
+ [![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)
22
+ [![SecretsChecker](https://img.shields.io/badge/secrets-detect--secrets-blue)](https://github.com/Yelp/detect-secrets)
23
+ [![SecurityChecker](https://img.shields.io/badge/security-bandit-yellow.svg)](https://github.com/PyCQA/bandit)
24
+ [![ShellFormatter](https://img.shields.io/badge/shell-shfmt-orange)](https://github.com/mvdan/sh)
25
+ [![ShellLinter](https://img.shields.io/badge/shell-shellcheck-blue)](https://github.com/koalaman/shellcheck)
26
+ [![SpellChecker](https://img.shields.io/badge/spell--check-typos-blue)](https://github.com/crate-ci/typos)
27
+ [![TOMLLinter](https://img.shields.io/badge/TOML-tombi-blueviolet)](https://github.com/tombi-toml/tombi)
28
+ [![TrailingWhitespaceFormatter](https://img.shields.io/badge/whitespace-trailing--whitespace--fixer-orange)](https://github.com/pre-commit/pre-commit-hooks)
29
+ [![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)
30
+ [![YAMLLinter](https://img.shields.io/badge/YAML-ryl-red)](https://github.com/owenlamont/ryl)
31
+ <!-- tooling -->
32
+ [![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)
33
+ [![Pyrigger](https://img.shields.io/badge/built%20with-pyrig-3776AB?logo=buildkite&logoColor=black)](https://github.com/Winipedia/pyrig)
34
+ [![RemoteVersionController](https://img.shields.io/github/stars/Winipedia/pyrig-private?style=social)](https://github.com/Winipedia/pyrig-private)
35
+ [![VersionControlHookManager](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/j178/prek/master/docs/assets/badge-v0.json)](https://github.com/j178/prek)
36
+ [![VersionController](https://img.shields.io/badge/Git-F05032?logo=git&logoColor=white)](https://git-scm.com)
37
+ <!-- project-info -->
38
+ [![DocsBuilder](https://img.shields.io/badge/Documentation-zensical-326CE5)](https://Winipedia.github.io/pyrig-private)
39
+ [![PackageIndex](https://img.shields.io/pypi/v/pyrig-private?logo=pypi&logoColor=white)](https://pypi.org/project/pyrig-private)
40
+ [![ProgrammingLanguage](https://img.shields.io/pypi/pyversions/pyrig-private)](https://www.python.org)
41
+ [![License](https://img.shields.io/github/license/Winipedia/pyrig-private)](https://github.com/Winipedia/pyrig-private/blob/main/LICENSE)
42
+
43
+ ---
44
+
45
+ > A pyrig plugin for private repository functionality.
46
+
47
+ ---
48
+
49
+ ## Overview
50
+
51
+ `pyrig-private` is a [pyrig](https://github.com/Winipedia/pyrig) plugin that
52
+ configures GitHub features for private repositories.
53
+
54
+ ## What it adds
55
+
56
+ - **Private visibility** — configures the repository to be private.
57
+
58
+ ## Usage
59
+
60
+ ```bash
61
+ uv add pyrig-private --dev
62
+ uv run pyrig sync
63
+ ```
64
+
65
+ Applying the generated repository settings makes the repository private. Review
66
+ its contents and GitHub's visibility-change consequences before applying them.
67
+
68
+ ## Documentation
69
+
70
+ See the [documentation site](https://Winipedia.github.io/pyrig-private) for
71
+ configuration details.
@@ -0,0 +1,108 @@
1
+ [project]
2
+ name = "pyrig-private"
3
+ version = "0.1.0"
4
+ description = "A pyrig plugin for private repository functionality."
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ license = "MIT"
8
+ license-files = ["LICENSE"]
9
+ keywords = ["pyrig"]
10
+ classifiers = [
11
+ "Operating System :: OS Independent",
12
+ "Programming Language :: Python :: 3 :: Only",
13
+ "Programming Language :: Python :: 3.12",
14
+ "Programming Language :: Python :: 3.13",
15
+ "Programming Language :: Python :: 3.14",
16
+ "Typing :: Typed",
17
+ ]
18
+ dependencies = [
19
+ "pyrig>=18.94.5",
20
+ "pyrig-runtime>=3.24.2",
21
+ ]
22
+
23
+ [[project.authors]]
24
+ name = "Winipedia"
25
+ email = "winipedia@gmx.de"
26
+
27
+ [[project.maintainers]]
28
+ name = "Winipedia"
29
+ email = "winipedia@gmx.de"
30
+
31
+ [project.urls]
32
+ Changelog = "https://github.com/Winipedia/pyrig-private/releases"
33
+ Documentation = "https://Winipedia.github.io/pyrig-private"
34
+ Homepage = "https://github.com/Winipedia/pyrig-private"
35
+ Issues = "https://github.com/Winipedia/pyrig-private/issues"
36
+ Source = "https://github.com/Winipedia/pyrig-private"
37
+
38
+ [project.scripts]
39
+ pyrig-private = "pyrig_runtime.rig.cli.main:main"
40
+
41
+ [dependency-groups]
42
+ dev = [
43
+ "actionlint-py>=1.7.12.25",
44
+ "bandit>=1.9.4",
45
+ "deptry>=0.25.1",
46
+ "detect-secrets>=1.5.0",
47
+ "mkdocstrings[python]>=1.0.6",
48
+ "pre-commit-hooks>=6.0.0",
49
+ "prek>=0.5.4",
50
+ "pyflakes>=4.0.1",
51
+ "pyrig>=18.94.2",
52
+ "pyrig-codecov>=3.17.45",
53
+ "pyrig-codeql>=1.1.10",
54
+ "pyrig-fixtures>=2.25.2",
55
+ "pyrig-pypi>=3.20.47",
56
+ "pytest>=9.1.1",
57
+ "pytest-cov>=7.1.0",
58
+ "pytest-randomly>=5.0.0",
59
+ "pytest-xdist>=3.8.0",
60
+ "ruff>=0.16.9",
61
+ "rumdl>=0.2.78",
62
+ "ryl>=0.22.0",
63
+ "shellcheck-py>=0.11.0.1",
64
+ "shfmt-py>=4.2.0",
65
+ "tombi>=1.7.0",
66
+ "ty>=0.0.84",
67
+ "typos>=1.50.3",
68
+ "zensical>=0.0.67",
69
+ "zizmor>=1.30.1",
70
+ ]
71
+
72
+ [build-system]
73
+ requires = ["uv-build"]
74
+ build-backend = "uv_build"
75
+
76
+ [tool.deptry]
77
+ root = "src"
78
+
79
+ [tool.deptry.per_rule_ignores]
80
+ DEP002 = ["pyrig-runtime"]
81
+
82
+ [tool.pytest]
83
+ addopts = [
84
+ "--cov-branch",
85
+ "--cov-fail-under=100",
86
+ "--cov-report=term-missing:skip-covered",
87
+ "--cov-report=xml",
88
+ "--cov=pyrig_private",
89
+ "--dist=worksteal",
90
+ "--numprocesses=auto",
91
+ "--report-chars=a",
92
+ ]
93
+ filterwarnings = ["error"]
94
+ strict = true
95
+ testpaths = ["tests"]
96
+
97
+ [tool.ruff.format]
98
+ docstring-code-format = true
99
+
100
+ [tool.ruff.lint]
101
+ ignore = ["CPY001"]
102
+ select = ["ALL"]
103
+
104
+ [tool.ruff.lint.per-file-ignores]
105
+ "tests/**/*.py" = ["S101"]
106
+
107
+ [tool.ruff.lint.pydocstyle]
108
+ convention = "google"
@@ -0,0 +1,124 @@
1
+ [project]
2
+ name = "pyrig-private"
3
+ version = "0.1.0"
4
+ description = "A pyrig plugin for private repository functionality."
5
+ readme = "README.md"
6
+ requires-python = ">=3.12"
7
+ license = "MIT"
8
+ license-files = [
9
+ "LICENSE",
10
+ ]
11
+ authors = [
12
+ { name = "Winipedia", email = "winipedia@gmx.de" },
13
+ ]
14
+ maintainers = [
15
+ { name = "Winipedia", email = "winipedia@gmx.de" },
16
+ ]
17
+ keywords = [
18
+ "pyrig",
19
+ ]
20
+ classifiers = [
21
+ "Operating System :: OS Independent",
22
+ "Programming Language :: Python :: 3 :: Only",
23
+ "Programming Language :: Python :: 3.12",
24
+ "Programming Language :: Python :: 3.13",
25
+ "Programming Language :: Python :: 3.14",
26
+ "Typing :: Typed",
27
+ ]
28
+ dependencies = [
29
+ "pyrig>=18.94.5",
30
+ "pyrig-runtime>=3.24.2",
31
+ ]
32
+
33
+ [project.urls]
34
+ Changelog = "https://github.com/Winipedia/pyrig-private/releases"
35
+ Documentation = "https://Winipedia.github.io/pyrig-private"
36
+ Homepage = "https://github.com/Winipedia/pyrig-private"
37
+ Issues = "https://github.com/Winipedia/pyrig-private/issues"
38
+ Source = "https://github.com/Winipedia/pyrig-private"
39
+
40
+ [project.scripts]
41
+ pyrig-private = "pyrig_runtime.rig.cli.main:main"
42
+
43
+ [dependency-groups]
44
+ dev = [
45
+ "actionlint-py>=1.7.12.25",
46
+ "bandit>=1.9.4",
47
+ "deptry>=0.25.1",
48
+ "detect-secrets>=1.5.0",
49
+ "mkdocstrings[python]>=1.0.6",
50
+ "pre-commit-hooks>=6.0.0",
51
+ "prek>=0.5.4",
52
+ "pyflakes>=4.0.1",
53
+ "pyrig>=18.94.2",
54
+ "pyrig-codecov>=3.17.45",
55
+ "pyrig-codeql>=1.1.10",
56
+ "pyrig-fixtures>=2.25.2",
57
+ "pyrig-pypi>=3.20.47",
58
+ "pytest>=9.1.1",
59
+ "pytest-cov>=7.1.0",
60
+ "pytest-randomly>=5.0.0",
61
+ "pytest-xdist>=3.8.0",
62
+ "ruff>=0.16.9",
63
+ "rumdl>=0.2.78",
64
+ "ryl>=0.22.0",
65
+ "shellcheck-py>=0.11.0.1",
66
+ "shfmt-py>=4.2.0",
67
+ "tombi>=1.7.0",
68
+ "ty>=0.0.84",
69
+ "typos>=1.50.3",
70
+ "zensical>=0.0.67",
71
+ "zizmor>=1.30.1",
72
+ ]
73
+
74
+ [build-system]
75
+ requires = [
76
+ "uv-build",
77
+ ]
78
+ build-backend = "uv_build"
79
+
80
+ [tool.deptry]
81
+ root = "src"
82
+
83
+ [tool.deptry.per_rule_ignores]
84
+ DEP002 = [
85
+ "pyrig-runtime",
86
+ ]
87
+
88
+ [tool.pytest]
89
+ addopts = [
90
+ "--cov-branch",
91
+ "--cov-fail-under=100",
92
+ "--cov-report=term-missing:skip-covered",
93
+ "--cov-report=xml",
94
+ "--cov=pyrig_private",
95
+ "--dist=worksteal",
96
+ "--numprocesses=auto",
97
+ "--report-chars=a",
98
+ ]
99
+ filterwarnings = [
100
+ "error",
101
+ ]
102
+ strict = true
103
+ testpaths = [
104
+ "tests",
105
+ ]
106
+
107
+ [tool.ruff.format]
108
+ docstring-code-format = true
109
+
110
+ [tool.ruff.lint]
111
+ ignore = [
112
+ "CPY001",
113
+ ]
114
+ select = [
115
+ "ALL",
116
+ ]
117
+
118
+ [tool.ruff.lint.per-file-ignores]
119
+ "tests/**/*.py" = [
120
+ "S101",
121
+ ]
122
+
123
+ [tool.ruff.lint.pydocstyle]
124
+ convention = "google"
@@ -0,0 +1 @@
1
+ """Private-repository extensions for pyrig."""
File without changes
@@ -0,0 +1 @@
1
+ """Private-repository overrides for pyrig's rig subsystem."""
@@ -0,0 +1 @@
1
+ """Configuration overrides for private repositories."""
@@ -0,0 +1 @@
1
+ """Version-control configuration overrides for private repositories."""
@@ -0,0 +1 @@
1
+ """Remote version-control configuration overrides for private repositories."""
@@ -0,0 +1,25 @@
1
+ """Repository-level settings and protection ruleset configuration for GitHub."""
2
+
3
+ from typing import Any
4
+
5
+ from pyrig.rig.configs.version_control.remote.settings import (
6
+ RepositorySettingsConfigFile as BaseRepositorySettingsConfigFile,
7
+ )
8
+
9
+
10
+ class RepositorySettingsConfigFile(BaseRepositorySettingsConfigFile):
11
+ """Override repository settings for private GitHub repositories."""
12
+
13
+ def _configs(self) -> dict[str, Any]:
14
+ """Add private visibility to the inherited repository settings.
15
+
16
+ Returns:
17
+ The inherited settings with private repository visibility.
18
+ """
19
+ configs = super()._configs()
20
+ configs[self.repository_key()]["visibility"] = self.visibility()
21
+ return configs
22
+
23
+ def visibility(self) -> str:
24
+ """Return the visibility setting for the repository."""
25
+ return "private"