RepoAuditor 0.2.10__tar.gz → 0.2.11__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.
- {repoauditor-0.2.10 → repoauditor-0.2.11}/PKG-INFO +1 -1
- {repoauditor-0.2.10 → repoauditor-0.2.11}/pyproject.toml +1 -1
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/CommandLineProcessor.py +10 -5
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Module.py +2 -2
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugin.py +1 -1
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/Module.py +2 -1
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/__init__.py +1 -1
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.copier-answers.yml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/CODEOWNERS +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/ISSUE_TEMPLATE/custom.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/actions/release_impl/action.yml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/pull_request_template.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/release_sources.yaml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/workflows/CICD.yml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/workflows/CICD_impl.yml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.github/workflows/codeql.yml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.gitignore +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.pre-commit-config.yaml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/.python-version +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/CODE_OF_CONDUCT.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/CONTRIBUTING.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/DEVELOPMENT.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/GOVERNANCE.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/LICENSE +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/MAINTAINERS.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/README.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/SECURITY.md +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/minisign_key.pub +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/AutoGitSemVer.yaml +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/EntryPoint.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/ExecuteModules.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Impl/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowForcePushes.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/Protected.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/AutoMerge.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DefaultBranch.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DeleteHeadBranches.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DependabotSecurityUpdates.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Description.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardValueRequirementImpl.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/License.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommit.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommitMessage.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Private.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/RebaseMergeCommit.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanning.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanningPushProtection.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashCommitMerge.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashMergeCommitMessage.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SuggestUpdatingPullRequestBranches.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportDiscussions.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportIssues.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportProjects.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportWikis.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/TemplateRepository.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/WebCommitSignoff.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/__init__.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Query.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Requirement.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/py.typed +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/CommandLineProcessor_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/EntryPoint_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/ExecuteModules_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Module_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Plugin_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Plugins/GitHubModule_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Plugins/GitHub_EndToEndTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Plugins/utilities.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Query_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Requirement_UnitTest.py +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
- {repoauditor-0.2.10 → repoauditor-0.2.11}/uv.lock +0 -0
|
@@ -70,11 +70,13 @@ class CommandLineProcessor:
|
|
|
70
70
|
|
|
71
71
|
for module in modules:
|
|
72
72
|
if argument_separator in module.name:
|
|
73
|
-
|
|
73
|
+
msg = f"The module name '{module.name}' contains '{argument_separator}'."
|
|
74
|
+
raise Exception(msg)
|
|
74
75
|
|
|
75
76
|
prev_module = module_map.get(module.name, None)
|
|
76
77
|
if prev_module is not None:
|
|
77
|
-
|
|
78
|
+
msg = f"The module '{module.name}' has already been defined."
|
|
79
|
+
raise Exception(msg)
|
|
78
80
|
|
|
79
81
|
module_map[module.name] = module
|
|
80
82
|
|
|
@@ -89,7 +91,8 @@ class CommandLineProcessor:
|
|
|
89
91
|
|
|
90
92
|
this_module = module_map.get(parts[0], None)
|
|
91
93
|
if this_module is None:
|
|
92
|
-
|
|
94
|
+
msg = f"'{parts[0]}' is not a recognized module name."
|
|
95
|
+
raise Exception(msg)
|
|
93
96
|
|
|
94
97
|
if len(parts) == 1:
|
|
95
98
|
included_modules.add(parts[0])
|
|
@@ -115,7 +118,8 @@ class CommandLineProcessor:
|
|
|
115
118
|
|
|
116
119
|
this_module = module_map.get(parts[0], None)
|
|
117
120
|
if this_module is None:
|
|
118
|
-
|
|
121
|
+
msg = f"'{parts[0]}' is not a recognized module name."
|
|
122
|
+
raise Exception(msg)
|
|
119
123
|
|
|
120
124
|
if len(parts) == 1:
|
|
121
125
|
module_map.pop(parts[0])
|
|
@@ -168,7 +172,8 @@ class CommandLineProcessor:
|
|
|
168
172
|
assert len(parts) >= 2
|
|
169
173
|
|
|
170
174
|
if parts[0] not in module_map:
|
|
171
|
-
|
|
175
|
+
msg = f"'{parts[0]}' is not a recognized module name."
|
|
176
|
+
raise Exception(msg)
|
|
172
177
|
|
|
173
178
|
if len(parts) == 2:
|
|
174
179
|
dynamic_args.setdefault(parts[0], {})[parts[1]] = value
|
|
@@ -92,7 +92,7 @@ class Module(ABC):
|
|
|
92
92
|
def GetDynamicArgDefinitions(self) -> dict[str, TypeDefinitionItemType]:
|
|
93
93
|
"""Returns information about dynamic arguments that the module can consume (often from the command line)."""
|
|
94
94
|
|
|
95
|
-
raise Exception("Abstract method") # pragma: no cover
|
|
95
|
+
raise Exception("Abstract method") # pragma: no cover # noqa: EM101
|
|
96
96
|
|
|
97
97
|
# ----------------------------------------------------------------------
|
|
98
98
|
@abstractmethod
|
|
@@ -107,7 +107,7 @@ class Module(ABC):
|
|
|
107
107
|
exception to indicate that the command line data is invalid.
|
|
108
108
|
"""
|
|
109
109
|
|
|
110
|
-
raise Exception("Abstract method") # pragma: no cover
|
|
110
|
+
raise Exception("Abstract method") # pragma: no cover # noqa: EM101
|
|
111
111
|
|
|
112
112
|
# ----------------------------------------------------------------------
|
|
113
113
|
def Evaluate(
|
|
@@ -114,7 +114,8 @@ class _GitHubSession(requests.Session):
|
|
|
114
114
|
path_parts = url_parts.path.split("/")
|
|
115
115
|
|
|
116
116
|
if len(path_parts) != 3:
|
|
117
|
-
|
|
117
|
+
msg = f"'{github_url}' is not a valid GitHub repository URL."
|
|
118
|
+
raise ValueError(msg)
|
|
118
119
|
|
|
119
120
|
_, username, repo = path_parts
|
|
120
121
|
|
|
@@ -3,4 +3,4 @@ APP_NAME = "RepoAuditor"
|
|
|
3
3
|
# Note that this value will be overwritten by calls to `python ../../Build.py update_version` based
|
|
4
4
|
# on changes observed in the git repository. The default value below will be used until the value
|
|
5
5
|
# here is explicitly updated by the Continuous Integration system.
|
|
6
|
-
__version__ = "0.2.
|
|
6
|
+
__version__ = "0.2.11"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.10 → repoauditor-0.2.11}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.10 → repoauditor-0.2.11}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|