RepoAuditor 0.2.5__tar.gz → 0.2.7__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.5 → repoauditor-0.2.7}/PKG-INFO +1 -1
- {repoauditor-0.2.5 → repoauditor-0.2.7}/pyproject.toml +3 -2
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/ExecuteModules.py +3 -3
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +1 -1
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Query.py +1 -1
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/__init__.py +1 -1
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.copier-answers.yml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/CODEOWNERS +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/custom.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/actions/release_impl/action.yml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/pull_request_template.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/release_sources.yaml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/workflows/CICD.yml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/workflows/CICD_impl.yml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.github/workflows/codeql.yml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.gitignore +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.pre-commit-config.yaml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/.python-version +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/CODE_OF_CONDUCT.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/CONTRIBUTING.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/DEVELOPMENT.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/GOVERNANCE.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/LICENSE +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/MAINTAINERS.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/README.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/SECURITY.md +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/minisign_key.pub +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/AutoGitSemVer.yaml +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/CommandLineProcessor.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/EntryPoint.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Impl/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Module.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugin.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowForcePushes.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/Protected.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Module.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/AutoMerge.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DefaultBranch.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DeleteHeadBranches.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DependabotSecurityUpdates.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Description.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardValueRequirementImpl.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/License.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommit.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommitMessage.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Private.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/RebaseMergeCommit.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanning.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanningPushProtection.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashCommitMerge.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashMergeCommitMessage.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SuggestUpdatingPullRequestBranches.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportDiscussions.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportIssues.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportProjects.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportWikis.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/TemplateRepository.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/WebCommitSignoff.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/__init__.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Requirement.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/py.typed +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/CommandLineProcessor_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/EntryPoint_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/ExecuteModules_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Module_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Plugin_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Plugins/GitHubModule_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Plugins/GitHub_EndToEndTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Plugins/utilities.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Query_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/Requirement_UnitTest.py +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
- {repoauditor-0.2.5 → repoauditor-0.2.7}/uv.lock +0 -0
|
@@ -104,9 +104,9 @@ select = [
|
|
|
104
104
|
"PIE",
|
|
105
105
|
"T20",
|
|
106
106
|
"PYI",
|
|
107
|
-
|
|
107
|
+
"PT",
|
|
108
108
|
"Q",
|
|
109
|
-
|
|
109
|
+
"RSE",
|
|
110
110
|
"RET",
|
|
111
111
|
"SLF",
|
|
112
112
|
# "SIM", # 4
|
|
@@ -147,6 +147,7 @@ ignore = [
|
|
|
147
147
|
"I001", # Import block is un-sorted or un-formatted
|
|
148
148
|
"N802", # Function name `xxx` should be lowercase
|
|
149
149
|
"N999", # Invalid module name
|
|
150
|
+
"RSE102", # Unnecessary parentheses on raise exception
|
|
150
151
|
"S101", # Use of assert detected
|
|
151
152
|
"UP032", # Use f-string instead of `format` call
|
|
152
153
|
]
|
|
@@ -71,7 +71,7 @@ def Execute(
|
|
|
71
71
|
elif module_info.module.style == ExecutionStyle.Sequential:
|
|
72
72
|
sequential.append((index, module_info))
|
|
73
73
|
else:
|
|
74
|
-
|
|
74
|
+
raise RuntimeError(module_info.module.style) # pragma: no cover
|
|
75
75
|
|
|
76
76
|
if len(parallel) == 1:
|
|
77
77
|
sequential.append(parallel[0])
|
|
@@ -282,7 +282,7 @@ def DisplayResults(
|
|
|
282
282
|
elif result.result == EvaluateResult.DoesNotApply:
|
|
283
283
|
num_does_not_apply += 1
|
|
284
284
|
else:
|
|
285
|
-
|
|
285
|
+
raise RuntimeError(result.result) # pragma: no cover
|
|
286
286
|
|
|
287
287
|
num_requirements = module.GetNumRequirements()
|
|
288
288
|
assert num_requirements
|
|
@@ -319,7 +319,7 @@ def DisplayResults(
|
|
|
319
319
|
elif result.result == EvaluateResult.DoesNotApply:
|
|
320
320
|
border_color = ""
|
|
321
321
|
else:
|
|
322
|
-
|
|
322
|
+
raise RuntimeError(result.result) # pragma: no cover
|
|
323
323
|
|
|
324
324
|
content: list[str] = []
|
|
325
325
|
|
|
@@ -72,7 +72,7 @@ def _Impl(
|
|
|
72
72
|
elif execution_style == ExecutionStyle.Sequential:
|
|
73
73
|
sequential.append((index, item))
|
|
74
74
|
else:
|
|
75
|
-
|
|
75
|
+
raise RuntimeError(execution_style) # pragma: no cover
|
|
76
76
|
|
|
77
77
|
if len(parallel) == 1:
|
|
78
78
|
sequential.append(parallel[0])
|
|
@@ -104,7 +104,7 @@ class Query(ABC):
|
|
|
104
104
|
status_info.num_warning += 1
|
|
105
105
|
return_code = 1
|
|
106
106
|
else:
|
|
107
|
-
|
|
107
|
+
raise RuntimeError(result_info.result) # pragma: no cover
|
|
108
108
|
|
|
109
109
|
status_func(*status_info.__dict__.values())
|
|
110
110
|
|
|
@@ -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.7"
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py
RENAMED
|
File without changes
|
{repoauditor-0.2.5 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.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
|
{repoauditor-0.2.5 → repoauditor-0.2.7}/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
|