RepoAuditor 0.2.9__tar.gz → 0.2.10__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.9 → repoauditor-0.2.10}/PKG-INFO +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/pyproject.toml +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/EntryPoint.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/ExecuteModules.py +2 -2
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowForcePushes.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/Protected.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/Module.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/AutoMerge.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DefaultBranch.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DeleteHeadBranches.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DependabotSecurityUpdates.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Description.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/License.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommit.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommitMessage.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Private.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/RebaseMergeCommit.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanning.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanningPushProtection.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashCommitMerge.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashMergeCommitMessage.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SuggestUpdatingPullRequestBranches.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportDiscussions.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportIssues.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportProjects.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportWikis.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/TemplateRepository.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/WebCommitSignoff.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Query.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/__init__.py +1 -1
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.copier-answers.yml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/CODEOWNERS +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/ISSUE_TEMPLATE/custom.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/actions/release_impl/action.yml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/pull_request_template.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/release_sources.yaml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/workflows/CICD.yml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/workflows/CICD_impl.yml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.github/workflows/codeql.yml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.gitignore +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.pre-commit-config.yaml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/.python-version +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/CODE_OF_CONDUCT.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/CONTRIBUTING.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/DEVELOPMENT.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/GOVERNANCE.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/LICENSE +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/MAINTAINERS.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/README.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/SECURITY.md +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/minisign_key.pub +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/AutoGitSemVer.yaml +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/CommandLineProcessor.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Impl/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Module.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugin.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardValueRequirementImpl.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/__init__.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Requirement.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/py.typed +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/CommandLineProcessor_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/EntryPoint_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/ExecuteModules_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Module_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Plugin_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Plugins/GitHubModule_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Plugins/GitHub_EndToEndTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Plugins/utilities.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Query_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/Requirement_UnitTest.py +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
- {repoauditor-0.2.9 → repoauditor-0.2.10}/uv.lock +0 -0
|
@@ -34,7 +34,7 @@ ARGUMENT_SEPARATOR = "-"
|
|
|
34
34
|
# ----------------------------------------------------------------------
|
|
35
35
|
class NaturalOrderGrouper(TyperGroup):
|
|
36
36
|
# ----------------------------------------------------------------------
|
|
37
|
-
def list_commands(self, *args, **kwargs):
|
|
37
|
+
def list_commands(self, *args, **kwargs) -> list[str]:
|
|
38
38
|
return self.commands.keys()
|
|
39
39
|
|
|
40
40
|
|
|
@@ -129,7 +129,7 @@ def Execute(
|
|
|
129
129
|
if parallel:
|
|
130
130
|
# ----------------------------------------------------------------------
|
|
131
131
|
def Prepare(
|
|
132
|
-
context: Any,
|
|
132
|
+
context: Any, # noqa: ANN401
|
|
133
133
|
on_simple_status_func: Callable[[str], None],
|
|
134
134
|
) -> tuple[int, ExecuteTasks.TransformTasksExTypes.TransformFuncType]:
|
|
135
135
|
module_info = cast(ModuleInfo, context)
|
|
@@ -140,7 +140,7 @@ def Execute(
|
|
|
140
140
|
status: ExecuteTasks.Status,
|
|
141
141
|
) -> ExecuteTasks.TransformResultComplete:
|
|
142
142
|
# ----------------------------------------------------------------------
|
|
143
|
-
def OnStatus(num_completed: int, *args, **kwargs):
|
|
143
|
+
def OnStatus(num_completed: int, *args, **kwargs) -> None:
|
|
144
144
|
status.OnProgress(
|
|
145
145
|
num_completed,
|
|
146
146
|
_CreateStatusString(*args, **kwargs),
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class AllowDeletions(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(AllowDeletions, self).__init__(
|
|
19
19
|
"AllowDeletions",
|
|
20
20
|
False,
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class AllowForcePushes(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(AllowForcePushes, self).__init__(
|
|
19
19
|
"AllowForcePushes",
|
|
20
20
|
False,
|
|
@@ -16,7 +16,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class DismissStalePullRequestApprovals(ClassicEnableRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(DismissStalePullRequestApprovals, self).__init__(
|
|
21
21
|
"DismissStalePullRequestApprovals",
|
|
22
22
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class DoNotAllowBypassSettings(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(DoNotAllowBypassSettings, self).__init__(
|
|
19
19
|
"DoNotAllowBypassSettings",
|
|
20
20
|
True,
|
|
@@ -20,7 +20,7 @@ from RepoAuditor.Requirement import EvaluateResult, ExecutionStyle, Requirement
|
|
|
20
20
|
# ----------------------------------------------------------------------
|
|
21
21
|
class EnsureStatusChecks(Requirement):
|
|
22
22
|
# ----------------------------------------------------------------------
|
|
23
|
-
def __init__(self):
|
|
23
|
+
def __init__(self) -> None:
|
|
24
24
|
super(EnsureStatusChecks, self).__init__(
|
|
25
25
|
"EnsureStatusChecks",
|
|
26
26
|
"Ensure that status checks have been enabled for the branch.",
|
|
@@ -16,7 +16,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class RequireApprovalMostRecentPush(ClassicEnableRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(RequireApprovalMostRecentPush, self).__init__(
|
|
21
21
|
"RequireApprovalMostRecentPush",
|
|
22
22
|
True,
|
|
@@ -16,7 +16,7 @@ from .Impl.ClassicValueRequirementImpl import ClassicValueRequirementImpl, DoesN
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class RequireApprovals(ClassicValueRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(RequireApprovals, self).__init__(
|
|
21
21
|
"RequireApprovals",
|
|
22
22
|
"1",
|
|
@@ -16,7 +16,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class RequireCodeOwnerReview(ClassicEnableRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(RequireCodeOwnerReview, self).__init__(
|
|
21
21
|
"RequireCodeOwnerReview",
|
|
22
22
|
False,
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class RequireConversationResolution(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(RequireConversationResolution, self).__init__(
|
|
19
19
|
"RequireConversationResolution",
|
|
20
20
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class RequireLinearHistory(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(RequireLinearHistory, self).__init__(
|
|
19
19
|
"RequireLinearHistory",
|
|
20
20
|
False,
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class RequirePullRequests(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(RequirePullRequests, self).__init__(
|
|
19
19
|
"RequirePullRequests",
|
|
20
20
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class RequireSignedCommits(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(RequireSignedCommits, self).__init__(
|
|
19
19
|
"RequireSignedCommits",
|
|
20
20
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class RequireStatusChecksToPass(ClassicEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(RequireStatusChecksToPass, self).__init__(
|
|
19
19
|
"RequireStatusChecksToPass",
|
|
20
20
|
True,
|
|
@@ -16,7 +16,7 @@ from .Impl.ClassicEnableRequirementImpl import ClassicEnableRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class RequireUpToDateBranches(ClassicEnableRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(RequireUpToDateBranches, self).__init__(
|
|
21
21
|
"RequireUpToDateBranches",
|
|
22
22
|
True,
|
|
@@ -22,7 +22,7 @@ from ..Impl.Common import CreateIncompleteDataResult
|
|
|
22
22
|
# ----------------------------------------------------------------------
|
|
23
23
|
class Protected(Requirement):
|
|
24
24
|
# ----------------------------------------------------------------------
|
|
25
|
-
def __init__(self):
|
|
25
|
+
def __init__(self) -> None:
|
|
26
26
|
# Note that protected is set for the branch when creating a branch ruleset or a classic
|
|
27
27
|
# branch protection rule.
|
|
28
28
|
super(Protected, self).__init__(
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class AutoMerge(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(AutoMerge, self).__init__(
|
|
19
19
|
"AutoMerge",
|
|
20
20
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardValueRequirementImpl import StandardValueRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class DefaultBranch(StandardValueRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(DefaultBranch, self).__init__(
|
|
19
19
|
"DefaultBranch",
|
|
20
20
|
"main",
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class DeleteHeadBranches(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(DeleteHeadBranches, self).__init__(
|
|
19
19
|
"DeleteHeadBranches",
|
|
20
20
|
True,
|
|
@@ -16,7 +16,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class DependabotSecurityUpdates(StandardEnableRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(DependabotSecurityUpdates, self).__init__(
|
|
21
21
|
"DependabotSecurityUpdates",
|
|
22
22
|
True,
|
|
@@ -23,7 +23,7 @@ from ..Impl.Common import CreateIncompleteDataResult
|
|
|
23
23
|
# ----------------------------------------------------------------------
|
|
24
24
|
class Description(Requirement):
|
|
25
25
|
# ----------------------------------------------------------------------
|
|
26
|
-
def __init__(self):
|
|
26
|
+
def __init__(self) -> None:
|
|
27
27
|
super(Description, self).__init__(
|
|
28
28
|
"Description",
|
|
29
29
|
"Validates a repository's description.",
|
|
@@ -16,7 +16,7 @@ from .Impl.StandardValueRequirementImpl import StandardValueRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class License(StandardValueRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(License, self).__init__(
|
|
21
21
|
"License",
|
|
22
22
|
"MIT License",
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class MergeCommit(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(MergeCommit, self).__init__(
|
|
19
19
|
"MergeCommit",
|
|
20
20
|
True,
|
|
@@ -16,7 +16,7 @@ from .Impl.StandardValueRequirementImpl import DoesNotApplyResult, StandardValue
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class MergeCommitMessage(StandardValueRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(MergeCommitMessage, self).__init__(
|
|
21
21
|
"MergeCommitMessage",
|
|
22
22
|
"BLANK",
|
|
@@ -22,7 +22,7 @@ from ..Impl.Common import CreateIncompleteDataResult
|
|
|
22
22
|
# ----------------------------------------------------------------------
|
|
23
23
|
class Private(Requirement):
|
|
24
24
|
# ----------------------------------------------------------------------
|
|
25
|
-
def __init__(self):
|
|
25
|
+
def __init__(self) -> None:
|
|
26
26
|
super(Private, self).__init__(
|
|
27
27
|
"Private",
|
|
28
28
|
"Validates that the repository is set to the expected visibility.",
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class RebaseMergeCommit(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(RebaseMergeCommit, self).__init__(
|
|
19
19
|
"RebaseMergeCommit",
|
|
20
20
|
False,
|
|
@@ -16,7 +16,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class SecretScanning(StandardEnableRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(SecretScanning, self).__init__(
|
|
21
21
|
"SecretScanning",
|
|
22
22
|
True,
|
|
@@ -16,7 +16,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class SecretScanningPushProtection(StandardEnableRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(SecretScanningPushProtection, self).__init__(
|
|
21
21
|
"SecretScanningPushProtection",
|
|
22
22
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class SquashCommitMerge(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(SquashCommitMerge, self).__init__(
|
|
19
19
|
"SquashCommitMerge",
|
|
20
20
|
False,
|
|
@@ -16,7 +16,7 @@ from .Impl.StandardValueRequirementImpl import DoesNotApplyResult, StandardValue
|
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
17
|
class SquashMergeCommitMessage(StandardValueRequirementImpl):
|
|
18
18
|
# ----------------------------------------------------------------------
|
|
19
|
-
def __init__(self):
|
|
19
|
+
def __init__(self) -> None:
|
|
20
20
|
super(SquashMergeCommitMessage, self).__init__(
|
|
21
21
|
"SquashMergeCommitMessage",
|
|
22
22
|
"COMMIT_MESSAGES",
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class SuggestUpdatingPullRequestBranches(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(SuggestUpdatingPullRequestBranches, self).__init__(
|
|
19
19
|
"SuggestUpdatingPullRequestBranches",
|
|
20
20
|
False,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class SupportDiscussions(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(SupportDiscussions, self).__init__(
|
|
19
19
|
"SupportDiscussions",
|
|
20
20
|
False,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class SupportIssues(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(SupportIssues, self).__init__(
|
|
19
19
|
"SupportIssues",
|
|
20
20
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class SupportProjects(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(SupportProjects, self).__init__(
|
|
19
19
|
"SupportProjects",
|
|
20
20
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class SupportWikis(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(SupportWikis, self).__init__(
|
|
19
19
|
"SupportWikis",
|
|
20
20
|
True,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class TemplateRepository(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(TemplateRepository, self).__init__(
|
|
19
19
|
"TemplateRepository",
|
|
20
20
|
False,
|
|
@@ -14,7 +14,7 @@ from .Impl.StandardEnableRequirementImpl import StandardEnableRequirementImpl
|
|
|
14
14
|
# ----------------------------------------------------------------------
|
|
15
15
|
class WebCommitSignoff(StandardEnableRequirementImpl):
|
|
16
16
|
# ----------------------------------------------------------------------
|
|
17
|
-
def __init__(self):
|
|
17
|
+
def __init__(self) -> None:
|
|
18
18
|
super(WebCommitSignoff, self).__init__(
|
|
19
19
|
"WebCommitSignoff",
|
|
20
20
|
True,
|
|
@@ -132,7 +132,7 @@ class StatusInfo:
|
|
|
132
132
|
"""Class used to store information required by OnStatusFunc."""
|
|
133
133
|
|
|
134
134
|
# ----------------------------------------------------------------------
|
|
135
|
-
def __init__(self):
|
|
135
|
+
def __init__(self) -> None:
|
|
136
136
|
self.num_completed: int = 0
|
|
137
137
|
self.num_success: int = 0
|
|
138
138
|
self.num_error: int = 0
|
|
@@ -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.10"
|
|
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.9 → repoauditor-0.2.10}/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
|
{repoauditor-0.2.9 → repoauditor-0.2.10}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.9 → repoauditor-0.2.10}/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
|
{repoauditor-0.2.9 → repoauditor-0.2.10}/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
|