RepoAuditor 0.2.41__tar.gz → 0.2.42__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.
Files changed (167) hide show
  1. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/workflows/CICD.yml +1 -1
  2. {repoauditor-0.2.41 → repoauditor-0.2.42}/DEVELOPMENT.md +4 -4
  3. {repoauditor-0.2.41 → repoauditor-0.2.42}/PKG-INFO +1 -1
  4. {repoauditor-0.2.41 → repoauditor-0.2.42}/pyproject.toml +1 -1
  5. repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization/CustomizationQuery.py → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards/CommunityStandardsQuery.py +9 -9
  6. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Impl/ExistsRequirementImpl.py +1 -1
  7. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Module.py +7 -7
  8. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Requirements/CodeOwners.py +1 -1
  9. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Requirements/Contributing.py +1 -1
  10. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Requirements/IssueTemplates.py +1 -1
  11. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Requirements/PullRequestTemplates.py +1 -1
  12. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Requirements/SecurityPolicy.py +1 -1
  13. repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomizationPlugin.py → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandardsPlugin.py +2 -2
  14. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/__init__.py +1 -1
  15. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/ExecuteModules_UnitTest.py +21 -3
  16. repoauditor-0.2.41/tests/Plugins/GitHubCustomization/CutomizationQuery_UnitTest.py → repoauditor-0.2.42/tests/Plugins/GitHubCommunityStandards/CommunityStandardsQuery_UnitTest.py +8 -5
  17. {repoauditor-0.2.41/tests/Plugins/GitHubCustomization → repoauditor-0.2.42/tests/Plugins/GitHubCommunityStandards}/ExistsRequirementImpl_UnitTest.py +1 -1
  18. repoauditor-0.2.41/tests/Plugins/GitHubCustomization/GitHubCustomization_UnitTest.py → repoauditor-0.2.42/tests/Plugins/GitHubCommunityStandards/GitHubCommunityStandards_UnitTest.py +6 -6
  19. repoauditor-0.2.41/tests/Plugins/GitHubCustomization_EndToEndTest.py → repoauditor-0.2.42/tests/Plugins/GitHubCommunityStandards_EndToEndTest.py +26 -26
  20. repoauditor-0.2.41/tests/Plugins/__snapshots__/GitHubCustomization_EndToEndTest.ambr → repoauditor-0.2.42/tests/Plugins/__snapshots__/GitHubCommunityStandards_EndToEndTest.ambr +40 -40
  21. {repoauditor-0.2.41 → repoauditor-0.2.42}/.copier-answers.yml +0 -0
  22. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/CODEOWNERS +0 -0
  23. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  24. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  25. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/ISSUE_TEMPLATE/custom.md +0 -0
  26. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  27. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/actions/release_impl/action.yml +0 -0
  28. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/pull_request_template.md +0 -0
  29. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/release_sources.yaml +0 -0
  30. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/workflows/CICD_impl.yml +0 -0
  31. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/workflows/EndToEnd.yml +0 -0
  32. {repoauditor-0.2.41 → repoauditor-0.2.42}/.github/workflows/codeql.yml +0 -0
  33. {repoauditor-0.2.41 → repoauditor-0.2.42}/.gitignore +0 -0
  34. {repoauditor-0.2.41 → repoauditor-0.2.42}/.pre-commit-config.yaml +0 -0
  35. {repoauditor-0.2.41 → repoauditor-0.2.42}/.python-version +0 -0
  36. {repoauditor-0.2.41 → repoauditor-0.2.42}/CODE_OF_CONDUCT.md +0 -0
  37. {repoauditor-0.2.41 → repoauditor-0.2.42}/CONTRIBUTING.md +0 -0
  38. {repoauditor-0.2.41 → repoauditor-0.2.42}/GOVERNANCE.md +0 -0
  39. {repoauditor-0.2.41 → repoauditor-0.2.42}/LICENSE +0 -0
  40. {repoauditor-0.2.41 → repoauditor-0.2.42}/MAINTAINERS.md +0 -0
  41. {repoauditor-0.2.41 → repoauditor-0.2.42}/README.md +0 -0
  42. {repoauditor-0.2.41 → repoauditor-0.2.42}/SECURITY.md +0 -0
  43. {repoauditor-0.2.41 → repoauditor-0.2.42}/minisign_key.pub +0 -0
  44. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/AutoGitSemVer.yaml +0 -0
  45. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/CommandLineProcessor.py +0 -0
  46. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Display.py +0 -0
  47. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/EntryPoint.py +0 -0
  48. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/ExecuteModules.py +0 -0
  49. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +0 -0
  50. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Impl/__init__.py +0 -0
  51. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Module.py +0 -0
  52. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugin.py +0 -0
  53. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +0 -0
  54. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +0 -0
  55. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowForcePushes.py +0 -0
  56. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +0 -0
  57. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +0 -0
  58. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +0 -0
  59. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
  60. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
  61. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
  62. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +0 -0
  63. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +0 -0
  64. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +0 -0
  65. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +0 -0
  66. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +0 -0
  67. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +0 -0
  68. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +0 -0
  69. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +0 -0
  70. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +0 -0
  71. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
  72. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
  73. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/Protected.py +0 -0
  74. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/__init__.py +0 -0
  75. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
  76. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
  77. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
  78. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
  79. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/Module.py +0 -0
  80. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
  81. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/AutoMerge.py +0 -0
  82. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DefaultBranch.py +0 -0
  83. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DeleteHeadBranches.py +0 -0
  84. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DependabotSecurityUpdates.py +0 -0
  85. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Description.py +0 -0
  86. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
  87. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardValueRequirementImpl.py +0 -0
  88. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/__init__.py +0 -0
  89. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/License.py +0 -0
  90. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommit.py +0 -0
  91. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommitMessage.py +0 -0
  92. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Private.py +0 -0
  93. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/RebaseMergeCommit.py +0 -0
  94. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanning.py +0 -0
  95. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanningPushProtection.py +0 -0
  96. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashCommitMerge.py +0 -0
  97. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashMergeCommitMessage.py +0 -0
  98. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SuggestUpdatingPullRequestBranches.py +0 -0
  99. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportDiscussions.py +0 -0
  100. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportIssues.py +0 -0
  101. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportProjects.py +0 -0
  102. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportWikis.py +0 -0
  103. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/TemplateRepository.py +0 -0
  104. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/WebCommitSignoff.py +0 -0
  105. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/__init__.py +0 -0
  106. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
  107. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubBase/Module.py +0 -0
  108. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubBase/__init__.py +0 -0
  109. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Impl/__init__.py +0 -0
  110. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/Requirements/__init__.py +0 -0
  111. {repoauditor-0.2.41/src/RepoAuditor/Plugins/GitHubCustomization → repoauditor-0.2.42/src/RepoAuditor/Plugins/GitHubCommunityStandards}/__init__.py +0 -0
  112. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
  113. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/Impl/EnableRulesetRequirementImpl.py +0 -0
  114. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/Impl/__init__.py +0 -0
  115. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/Module.py +0 -0
  116. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/RequirePullRequests.py +0 -0
  117. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/RequireSignedCommits.py +0 -0
  118. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/RequireStatusChecks.py +0 -0
  119. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/Requirements/__init__.py +0 -0
  120. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/RulesetQuery.py +0 -0
  121. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesets/__init__.py +0 -0
  122. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/GitHubRulesetsPlugin.py +0 -0
  123. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Plugins/__init__.py +0 -0
  124. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Query.py +0 -0
  125. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/Requirement.py +0 -0
  126. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/RepoAuditor/py.typed +0 -0
  127. {repoauditor-0.2.41 → repoauditor-0.2.42}/src/github_auditor/__init__.py +0 -0
  128. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/CommandLineProcessor_UnitTest.py +0 -0
  129. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/EntryPoint_UnitTest.py +0 -0
  130. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Module_UnitTest.py +0 -0
  131. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugin_UnitTest.py +0 -0
  132. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicBranchProtectionQuery_UnitTest.py +0 -0
  133. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals_UnitTest.py +0 -0
  134. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/EnsureStatusChecks_UnitTest.py +0 -0
  135. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush_UnitTest.py +0 -0
  136. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireApprovals_UnitTest.py +0 -0
  137. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireCodeOwnerReview_UnitTest.py +0 -0
  138. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireUpToDateBranches_UnitTest.py +0 -0
  139. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ClassicValueRequirementImpl_UnitTest.py +0 -0
  140. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/DefaultBranchQueryRequirements/Protected_UnitTest.py +0 -0
  141. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/DefaultBranchQuery_UnitTest.py +0 -0
  142. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/GitHubModule_UnitTest.py +0 -0
  143. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/GitHubSession_UnitTest.py +0 -0
  144. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/DependabotSecurityUpdates_UnitTest.py +0 -0
  145. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/Description_UnitTest.py +0 -0
  146. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/License_UnitTest.py +0 -0
  147. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/MergeCommitMessage_UnitTest.py +0 -0
  148. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/Private_UnitTest.py +0 -0
  149. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/SecretScanningPushProtection_UnitTest.py +0 -0
  150. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/SecretScanning_UnitTest.py +0 -0
  151. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQueryRequirements/SquashMergeCommitMessage_UnitTest.py +0 -0
  152. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/StandardQuery_UnitTest.py +0 -0
  153. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/ValueRequrementImpl_UnitTest.py +0 -0
  154. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubModule/fixtures.py +0 -0
  155. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubRuleset_EndToEndTest.py +0 -0
  156. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubRulesets/EnableRulesetRequirementImpl_UnitTest.py +0 -0
  157. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubRulesets/GitHubRuleset_UnitTest.py +0 -0
  158. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHubRulesets/RulsesetQuery_UnitTest.py +0 -0
  159. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/GitHub_EndToEndTest.py +0 -0
  160. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/__snapshots__/GitHubRuleset_EndToEndTest.ambr +0 -0
  161. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +0 -0
  162. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/conftest.py +0 -0
  163. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Plugins/utilities.py +0 -0
  164. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Query_UnitTest.py +0 -0
  165. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/Requirement_UnitTest.py +0 -0
  166. {repoauditor-0.2.41 → repoauditor-0.2.42}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
  167. {repoauditor-0.2.41 → repoauditor-0.2.42}/uv.lock +0 -0
@@ -26,7 +26,7 @@ jobs:
26
26
  with:
27
27
  # These values can be customized for your specific requirements.
28
28
  operating_system_json_string: "[ 'macos-latest', 'ubuntu-latest', 'windows-latest' ]"
29
- python_version_json_string: "['3.13']" # Reduce the number of python versions supported so that we don't get rate limited by GitHub; was: "['3.13', '3.12', '3.11', '3.10']"
29
+ python_version_json_string: "['3.13', '3.12', '3.11', '3.10']"
30
30
  python_package_version: "3.13"
31
31
  coverage_badge_gist_id: "2f9d770d13e3a148424f374f74d41f4b"
32
32
  coverage_badge_gist_username: "davidbrownell"
@@ -4,17 +4,17 @@
4
4
  | --- | --- | --- |
5
5
  | 1. Fork the repository | -- | https://github.com/gt-sse-center/RepoAuditor/fork |
6
6
  | 2. Create a PAT for your forked repository | -- | See [PAT setup instructions](README.md#personal-access-token-pat) |
7
- | 3. Sync the `test-GitHubCustomization` branch | see instructions below | In the web interface, select "New Branch", then choose `gt-sse-center/RepoAuditor` and `test-GitHubCustomization` as source, and enter `test-GitHubCustomization` as branch name. |
7
+ | 3. Sync the `test-GitHubCommunityStandards` branch | see instructions below | In the web interface, select "New Branch", then choose `gt-sse-center/RepoAuditor` and `test-GitHubCommunityStandards` as source, and enter `test-GitHubCommunityStandards` as branch name. |
8
8
  | 4. Update your forked repository settings to match RepoAuditor's defaults | -- |
9
9
 
10
10
 
11
- To sync the `test-GitHubCustomization` branch using the command line:
11
+ To sync the `test-GitHubCommunityStandards` branch using the command line:
12
12
  ```bash
13
13
  git clone <REPOAUDITOR_FORK_URL>
14
14
  git remote add upstream https://github.com/gt-sse-center/RepoAuditor
15
15
  git fetch upstream
16
- git checkout -b test-GitHubCustomization upstream/test-GitHubCustomization
17
- git push origin test-GitHubCustomization
16
+ git checkout -b test-GitHubCommunityStandards upstream/test-GitHubCommunityStandards
17
+ git push origin test-GitHubCommunityStandards
18
18
  ```
19
19
 
20
20
  # Local Development
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RepoAuditor
3
- Version: 0.2.41
3
+ Version: 0.2.42
4
4
  Summary: Add your description here
5
5
  Project-URL: Homepage, https://github.com/gt-sse-center/RepoAuditor
6
6
  Project-URL: Documentation, https://github.com/gt-sse-center/RepoAuditor
@@ -39,7 +39,7 @@ repo_auditor = "RepoAuditor:EntryPoint.app"
39
39
 
40
40
  [project.entry-points.RepoAuditor]
41
41
  GitHubPlugin = "RepoAuditor.Plugins.GitHubPlugin"
42
- GitHubCustomizationPlugin = "RepoAuditor.Plugins.GitHubCustomizationPlugin"
42
+ GitHubCommunityStandardsPlugin = "RepoAuditor.Plugins.GitHubCommunityStandardsPlugin"
43
43
  GitHubRulesetPlugin="RepoAuditor.Plugins.GitHubRulesetsPlugin"
44
44
 
45
45
  [build-system]
@@ -4,7 +4,7 @@
4
4
  # | Distributed under the MIT License.
5
5
  # |
6
6
  # -------------------------------------------------------------------------------
7
- """Contains the CustomizationQuery object."""
7
+ """Contains the CommunityStandardsQuery object."""
8
8
 
9
9
  from tempfile import TemporaryDirectory
10
10
  from typing import Any, Optional
@@ -12,20 +12,20 @@ from typing import Any, Optional
12
12
  from dbrownell_Common.Types import override # type: ignore[import-untyped]
13
13
  from git import Repo
14
14
 
15
- from RepoAuditor.Plugins.GitHubCustomization.Requirements.CodeOwners import CodeOwners
16
- from RepoAuditor.Plugins.GitHubCustomization.Requirements.Contributing import Contributing
17
- from RepoAuditor.Plugins.GitHubCustomization.Requirements.IssueTemplates import IssueTemplates
18
- from RepoAuditor.Plugins.GitHubCustomization.Requirements.PullRequestTemplates import PullRequestTemplate
19
- from RepoAuditor.Plugins.GitHubCustomization.Requirements.SecurityPolicy import SecurityPolicy
15
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Requirements.CodeOwners import CodeOwners
16
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Requirements.Contributing import Contributing
17
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Requirements.IssueTemplates import IssueTemplates
18
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Requirements.PullRequestTemplates import PullRequestTemplate
19
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Requirements.SecurityPolicy import SecurityPolicy
20
20
  from RepoAuditor.Query import ExecutionStyle, Query
21
21
 
22
22
 
23
- class CustomizationQuery(Query):
24
- """Query with requirements that check for GitHub customization files."""
23
+ class CommunityStandardsQuery(Query):
24
+ """Query with requirements that check for GitHub CommunityStandards files."""
25
25
 
26
26
  def __init__(self) -> None:
27
27
  super().__init__(
28
- "CustomizationQuery",
28
+ "CommunityStandardsQuery",
29
29
  ExecutionStyle.Parallel,
30
30
  [
31
31
  CodeOwners(),
@@ -56,7 +56,7 @@ class ExistsRequirementImpl(Requirement):
56
56
  bool,
57
57
  typer.Option(
58
58
  False,
59
- help=f"Ensures that the customization file {self.github_file} exists.",
59
+ help=f"Ensures that the file {self.github_file} exists.",
60
60
  ),
61
61
  ),
62
62
  }
@@ -4,23 +4,23 @@
4
4
  # | Distributed under the MIT License.
5
5
  # |
6
6
  # -------------------------------------------------------------------------------
7
- """Contains the GitHubCustomizationModule object."""
7
+ """Contains the GitHubCommunityStandardsModule object."""
8
8
 
9
9
  from RepoAuditor.Module import ExecutionStyle
10
10
  from RepoAuditor.Plugins.GitHubBase.Module import GitHubBaseModule
11
- from RepoAuditor.Plugins.GitHubCustomization.CustomizationQuery import CustomizationQuery
11
+ from RepoAuditor.Plugins.GitHubCommunityStandards.CommunityStandardsQuery import CommunityStandardsQuery
12
12
 
13
13
 
14
- class GitHubCustomizationModule(GitHubBaseModule):
15
- """Module that validates GitHub repository customization files."""
14
+ class GitHubCommunityStandardsModule(GitHubBaseModule):
15
+ """Module that validates GitHub repository files for Community Standards."""
16
16
 
17
17
  def __init__(self) -> None:
18
18
  super().__init__(
19
- "GitHubCustomization",
20
- "Validates GitHub repository customization files.",
19
+ "GitHubCommunityStandards",
20
+ "Validates GitHub repository files for Community Standards.",
21
21
  ExecutionStyle.Parallel,
22
22
  [
23
- CustomizationQuery(),
23
+ CommunityStandardsQuery(),
24
24
  ],
25
25
  requires_explicit_include=True,
26
26
  )
@@ -8,7 +8,7 @@
8
8
 
9
9
  import textwrap
10
10
 
11
- from RepoAuditor.Plugins.GitHubCustomization.Impl.ExistsRequirementImpl import ExistsRequirementImpl
11
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Impl.ExistsRequirementImpl import ExistsRequirementImpl
12
12
 
13
13
 
14
14
  class CodeOwners(ExistsRequirementImpl):
@@ -8,7 +8,7 @@
8
8
 
9
9
  import textwrap
10
10
 
11
- from RepoAuditor.Plugins.GitHubCustomization.Impl.ExistsRequirementImpl import ExistsRequirementImpl
11
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Impl.ExistsRequirementImpl import ExistsRequirementImpl
12
12
 
13
13
 
14
14
  class Contributing(ExistsRequirementImpl):
@@ -6,7 +6,7 @@
6
6
  # -------------------------------------------------------------------------------
7
7
  """Contains the IssueTemplates requirement."""
8
8
 
9
- from RepoAuditor.Plugins.GitHubCustomization.Impl.ExistsRequirementImpl import ExistsRequirementImpl
9
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Impl.ExistsRequirementImpl import ExistsRequirementImpl
10
10
 
11
11
 
12
12
  class IssueTemplates(ExistsRequirementImpl):
@@ -6,7 +6,7 @@
6
6
  # -------------------------------------------------------------------------------
7
7
  """Contains the PullRequestTemplate requirement."""
8
8
 
9
- from RepoAuditor.Plugins.GitHubCustomization.Impl.ExistsRequirementImpl import ExistsRequirementImpl
9
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Impl.ExistsRequirementImpl import ExistsRequirementImpl
10
10
 
11
11
 
12
12
  class PullRequestTemplate(ExistsRequirementImpl):
@@ -8,7 +8,7 @@
8
8
 
9
9
  import textwrap
10
10
 
11
- from RepoAuditor.Plugins.GitHubCustomization.Impl.ExistsRequirementImpl import ExistsRequirementImpl
11
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Impl.ExistsRequirementImpl import ExistsRequirementImpl
12
12
 
13
13
 
14
14
  class SecurityPolicy(ExistsRequirementImpl):
@@ -10,11 +10,11 @@ import pluggy
10
10
 
11
11
  from RepoAuditor import APP_NAME
12
12
  from RepoAuditor.Module import Module
13
- from RepoAuditor.Plugins.GitHubCustomization.Module import GitHubCustomizationModule
13
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Module import GitHubCommunityStandardsModule
14
14
 
15
15
 
16
16
  # ----------------------------------------------------------------------
17
17
  @pluggy.HookimplMarker(APP_NAME)
18
18
  def GetModule() -> Module:
19
19
  """Return GitHub Customization Module."""
20
- return GitHubCustomizationModule()
20
+ return GitHubCommunityStandardsModule()
@@ -2,4 +2,4 @@ APP_NAME = "RepoAuditor"
2
2
 
3
3
  # Note that the default value below will be used until the value
4
4
  # here is explicitly updated by the Continuous Integration system.
5
- __version__ = "0.2.41"
5
+ __version__ = "0.2.42"
@@ -322,8 +322,24 @@ class TestExecute:
322
322
 
323
323
  assert all_results == [[]]
324
324
 
325
- assert cast(str, next(dm_and_content)) == textwrap.dedent(
326
- """\
325
+ # Assuming major version is 3
326
+ if sys.version_info[1] < 11:
327
+ expected_content = textwrap.dedent(
328
+ """\
329
+ Heading...
330
+ Processing 1 module...
331
+ Processing 'MyModule' (1 of 1)...
332
+
333
+
334
+ DONE! (ReturnCode.DOESNOTAPPLY, <scrubbed duration>)
335
+ DONE! (ReturnCode.DOESNOTAPPLY, <scrubbed duration>)
336
+ DONE! (ReturnCode.DOESNOTAPPLY, <scrubbed duration>)
337
+ """,
338
+ )
339
+ else:
340
+ # From version 3.11 onwards, IntEnum.__str__ returns the int value.
341
+ expected_content = textwrap.dedent(
342
+ """\
327
343
  Heading...
328
344
  Processing 1 module...
329
345
  Processing 'MyModule' (1 of 1)...
@@ -333,7 +349,9 @@ class TestExecute:
333
349
  DONE! (2, <scrubbed duration>)
334
350
  DONE! (2, <scrubbed duration>)
335
351
  """,
336
- )
352
+ )
353
+
354
+ assert cast(str, next(dm_and_content)) == expected_content
337
355
 
338
356
 
339
357
  # ----------------------------------------------------------------------
@@ -4,12 +4,15 @@
4
4
  # | Distributed under the MIT License.
5
5
  # |
6
6
  # -------------------------------------------------------------------------------
7
- """Unit tests for CustomizationQuery.py"""
7
+ """Unit tests for CommunityStandardsQuery.py"""
8
8
 
9
9
  import pytest
10
10
  from git import Repo
11
11
 
12
- from RepoAuditor.Plugins.GitHubCustomization.CustomizationQuery import CustomizationQuery, TemporaryDirectory
12
+ from RepoAuditor.Plugins.GitHubCommunityStandards.CommunityStandardsQuery import (
13
+ CommunityStandardsQuery,
14
+ TemporaryDirectory,
15
+ )
13
16
 
14
17
 
15
18
  def mock_clone_from(github_url, repo_dirname, branch="main"):
@@ -32,7 +35,7 @@ def patch_temp_directory(monkeypatch):
32
35
  monkeypatch.delattr("tempfile.TemporaryDirectory")
33
36
 
34
37
 
35
- class TestCustomizationQuery:
38
+ class TestCommunityStandardsQuery:
36
39
  def test_GetData(self, module_data, monkeypatch):
37
40
  """Test the GetData method."""
38
41
  monkeypatch.setattr(
@@ -46,14 +49,14 @@ class TestCustomizationQuery:
46
49
  mock_clone_from,
47
50
  )
48
51
 
49
- query = CustomizationQuery()
52
+ query = CommunityStandardsQuery()
50
53
  query_data = query.GetData(module_data)
51
54
 
52
55
  assert query_data["repo_dir"].name == "test_temp_directory"
53
56
 
54
57
  def test_Cleanup(self, module_data):
55
58
  """Test the Cleanup method."""
56
- query = CustomizationQuery()
59
+ query = CommunityStandardsQuery()
57
60
  module_data["repo_dir"] = MockTemporaryDirectory()
58
61
  result = query.Cleanup(module_data)
59
62
 
@@ -9,7 +9,7 @@
9
9
  from pathlib import Path
10
10
  from tempfile import TemporaryDirectory
11
11
 
12
- from RepoAuditor.Plugins.GitHubCustomization.Impl.ExistsRequirementImpl import ExistsRequirementImpl
12
+ from RepoAuditor.Plugins.GitHubCommunityStandards.Impl.ExistsRequirementImpl import ExistsRequirementImpl
13
13
  from RepoAuditor.Requirement import EvaluateResult
14
14
 
15
15
 
@@ -4,7 +4,7 @@
4
4
  # | Distributed under the MIT License.
5
5
  # |
6
6
  # -------------------------------------------------------------------------------
7
- """Unit tests for the GitHub Customization Plugin"""
7
+ """Unit tests for the GitHub Community Standards Plugin"""
8
8
 
9
9
  import sys
10
10
  from pathlib import Path
@@ -12,7 +12,7 @@ from pathlib import Path
12
12
  import pluggy
13
13
 
14
14
  from RepoAuditor import APP_NAME
15
- from RepoAuditor.Plugins.GitHubCustomizationPlugin import GetModule
15
+ from RepoAuditor.Plugins.GitHubCommunityStandardsPlugin import GetModule
16
16
 
17
17
 
18
18
  # ----------------------------------------------------------------------
@@ -28,7 +28,7 @@ def test_get_module_returns_object():
28
28
  module = GetModule()
29
29
  assert module is not None
30
30
  assert hasattr(module, "name")
31
- assert module.name == "GitHubCustomization"
31
+ assert module.name == "GitHubCommunityStandards"
32
32
 
33
33
 
34
34
  # ----------------------------------------------------------------------
@@ -55,7 +55,7 @@ def test_plugin_registration():
55
55
 
56
56
 
57
57
  # ----------------------------------------------------------------------
58
- class TestGitHubCustomizationModule:
58
+ class TestGitHubCommunityStandardsModule:
59
59
  """Unit tests for the GitHubCustomizaton module."""
60
60
 
61
61
  def test_Construct(self):
@@ -63,11 +63,11 @@ class TestGitHubCustomizationModule:
63
63
  module = GetModule()
64
64
 
65
65
  assert module is not None
66
- assert module.name == "GitHubCustomization"
66
+ assert module.name == "GitHubCommunityStandards"
67
67
  # Comment out checks that would fail with minimal implementation
68
68
  # assert module.execution_style.name == "Parallel"
69
69
  # assert len(module.queries) == 1
70
- # assert isinstance(module.queries[0], CustomizationQuery)
70
+ # assert isinstance(module.queries[0], CommunityStandardsQuery)
71
71
  # assert module.requires_explicit_include is False
72
72
 
73
73
  def test_GetDynamicArgDefinitions(self):
@@ -4,7 +4,7 @@
4
4
  # | Distributed under the MIT License.
5
5
  # |
6
6
  # -------------------------------------------------------------------------------
7
- """End-to-end tests for the GitHubCustomization plugin."""
7
+ """End-to-end tests for the GitHubCommunityStandards plugin."""
8
8
 
9
9
  from pathlib import Path
10
10
 
@@ -22,13 +22,13 @@ pytest.fixture(InitializeStreamCapabilities(), scope="session", autouse=True)
22
22
 
23
23
 
24
24
  # ----------------------------------------------------------------------
25
- class TestCustomization:
26
- """End-to-end tests for customization files in a GitHub repository."""
25
+ class TestCommunityStandards:
26
+ """End-to-end tests for community standards files in a GitHub repository."""
27
27
 
28
28
  # ----------------------------------------------------------------------
29
29
  def test_CodeOwners(self, pat_args, snapshot):
30
30
  """Test if a CODEOWNERS file exists in the repository."""
31
- result = CliRunner().invoke(app, pat_args + ["--GitHubCustomization-CodeOwners-exists"])
31
+ result = CliRunner().invoke(app, pat_args + ["--GitHubCommunityStandards-CodeOwners-exists"])
32
32
 
33
33
  assert result.exit_code == 0, result.output
34
34
  assert ScrubDurationGithuburlAndSpaces(result.stdout) == snapshot
@@ -39,9 +39,9 @@ class TestCustomization:
39
39
  app,
40
40
  pat_args
41
41
  + [
42
- "--GitHubCustomization-CodeOwners-exists",
43
- "--GitHubCustomization-branch",
44
- "test-GitHubCustomization",
42
+ "--GitHubCommunityStandards-CodeOwners-exists",
43
+ "--GitHubCommunityStandards-branch",
44
+ "test-GitHubCommunityStandards",
45
45
  ],
46
46
  )
47
47
 
@@ -50,7 +50,7 @@ class TestCustomization:
50
50
 
51
51
  def test_Contributing(self, pat_args, snapshot):
52
52
  """Test if a CONTRIBUTING.md file exists in the repository."""
53
- result = CliRunner().invoke(app, pat_args + ["--GitHubCustomization-Contributing-exists"])
53
+ result = CliRunner().invoke(app, pat_args + ["--GitHubCommunityStandards-Contributing-exists"])
54
54
 
55
55
  assert result.exit_code == 0, result.output
56
56
  assert ScrubDurationGithuburlAndSpaces(result.stdout) == snapshot
@@ -61,9 +61,9 @@ class TestCustomization:
61
61
  app,
62
62
  pat_args
63
63
  + [
64
- "--GitHubCustomization-Contributing-exists",
65
- "--GitHubCustomization-branch",
66
- "test-GitHubCustomization",
64
+ "--GitHubCommunityStandards-Contributing-exists",
65
+ "--GitHubCommunityStandards-branch",
66
+ "test-GitHubCommunityStandards",
67
67
  ],
68
68
  )
69
69
 
@@ -72,7 +72,7 @@ class TestCustomization:
72
72
 
73
73
  def test_IssueTemplate(self, pat_args, snapshot):
74
74
  """Test if an Issue template file (e.g. ISSUE_TEMPLATE.md) exists in the repository."""
75
- result = CliRunner().invoke(app, pat_args + ["--GitHubCustomization-IssueTemplates-exists"])
75
+ result = CliRunner().invoke(app, pat_args + ["--GitHubCommunityStandards-IssueTemplates-exists"])
76
76
 
77
77
  assert result.exit_code == 0, result.output
78
78
  assert ScrubDurationGithuburlAndSpaces(result.stdout) == snapshot
@@ -83,9 +83,9 @@ class TestCustomization:
83
83
  app,
84
84
  pat_args
85
85
  + [
86
- "--GitHubCustomization-IssueTemplates-exists",
87
- "--GitHubCustomization-branch",
88
- "test-GitHubCustomization",
86
+ "--GitHubCommunityStandards-IssueTemplates-exists",
87
+ "--GitHubCommunityStandards-branch",
88
+ "test-GitHubCommunityStandards",
89
89
  ],
90
90
  )
91
91
 
@@ -94,7 +94,7 @@ class TestCustomization:
94
94
 
95
95
  def test_PullRequestTemplate(self, pat_args, snapshot):
96
96
  """Test if a Pull Request template file (e.g. PULL_REQUEST_TEMPLATE.md) exists in the repository."""
97
- result = CliRunner().invoke(app, pat_args + ["--GitHubCustomization-PullRequestTemplate-exists"])
97
+ result = CliRunner().invoke(app, pat_args + ["--GitHubCommunityStandards-PullRequestTemplate-exists"])
98
98
 
99
99
  assert result.exit_code == 0, result.output
100
100
  assert ScrubDurationGithuburlAndSpaces(result.stdout) == snapshot
@@ -105,9 +105,9 @@ class TestCustomization:
105
105
  app,
106
106
  pat_args
107
107
  + [
108
- "--GitHubCustomization-PullRequestTemplate-exists",
109
- "--GitHubCustomization-branch",
110
- "test-GitHubCustomization",
108
+ "--GitHubCommunityStandards-PullRequestTemplate-exists",
109
+ "--GitHubCommunityStandards-branch",
110
+ "test-GitHubCommunityStandards",
111
111
  ],
112
112
  )
113
113
 
@@ -116,7 +116,7 @@ class TestCustomization:
116
116
 
117
117
  def test_SecurityPolicy(self, pat_args, snapshot):
118
118
  """Test if a Security policy file (e.g. SECURITY.md) exists in the repository."""
119
- result = CliRunner().invoke(app, pat_args + ["--GitHubCustomization-SecurityPolicy-exists"])
119
+ result = CliRunner().invoke(app, pat_args + ["--GitHubCommunityStandards-SecurityPolicy-exists"])
120
120
 
121
121
  assert result.exit_code == 0, result.output
122
122
  assert ScrubDurationGithuburlAndSpaces(result.stdout) == snapshot
@@ -127,9 +127,9 @@ class TestCustomization:
127
127
  app,
128
128
  pat_args
129
129
  + [
130
- "--GitHubCustomization-SecurityPolicy-exists",
131
- "--GitHubCustomization-branch",
132
- "test-GitHubCustomization",
130
+ "--GitHubCommunityStandards-SecurityPolicy-exists",
131
+ "--GitHubCommunityStandards-branch",
132
+ "test-GitHubCommunityStandards",
133
133
  ],
134
134
  )
135
135
 
@@ -144,8 +144,8 @@ class TestCustomization:
144
144
  def args() -> list[str]:
145
145
  return [
146
146
  "--include",
147
- "GitHubCustomization",
148
- "--GitHubCustomization-url",
147
+ "GitHubCommunityStandards",
148
+ "--GitHubCommunityStandards-url",
149
149
  GetGithubUrl(),
150
150
  ]
151
151
 
@@ -159,4 +159,4 @@ def pat_args(args) -> list[str]:
159
159
  with _github_pat_filename.open() as f:
160
160
  pat_value = f.read().strip()
161
161
 
162
- return args + ["--GitHubCustomization-pat", pat_value]
162
+ return args + ["--GitHubCommunityStandards-pat", pat_value]