RepoAuditor 0.2.69__tar.gz → 0.2.70__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 (168) hide show
  1. {repoauditor-0.2.69 → repoauditor-0.2.70}/PKG-INFO +1 -1
  2. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHubBase/Module.py +11 -6
  3. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/__init__.py +1 -1
  4. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/CommunityStandards_EndToEndTest.py +3 -6
  5. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubEnterprise_EndToEndTest.py +3 -6
  6. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/fixtures.py +1 -1
  7. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHub_EndToEndTest.py +3 -6
  8. {repoauditor-0.2.69 → repoauditor-0.2.70}/.copier-answers.yml +0 -0
  9. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/CODEOWNERS +0 -0
  10. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  11. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  12. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/ISSUE_TEMPLATE/custom.md +0 -0
  13. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  14. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/actions/release_impl/action.yml +0 -0
  15. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/pull_request_template.md +0 -0
  16. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/release_sources.yaml +0 -0
  17. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/workflows/CICD.yml +0 -0
  18. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/workflows/CICD_impl.yml +0 -0
  19. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/workflows/EndToEnd.yml +0 -0
  20. {repoauditor-0.2.69 → repoauditor-0.2.70}/.github/workflows/codeql.yml +0 -0
  21. {repoauditor-0.2.69 → repoauditor-0.2.70}/.gitignore +0 -0
  22. {repoauditor-0.2.69 → repoauditor-0.2.70}/.pre-commit-config.yaml +0 -0
  23. {repoauditor-0.2.69 → repoauditor-0.2.70}/.python-version +0 -0
  24. {repoauditor-0.2.69 → repoauditor-0.2.70}/CODE_OF_CONDUCT.md +0 -0
  25. {repoauditor-0.2.69 → repoauditor-0.2.70}/CONTRIBUTING.md +0 -0
  26. {repoauditor-0.2.69 → repoauditor-0.2.70}/DEVELOPMENT.md +0 -0
  27. {repoauditor-0.2.69 → repoauditor-0.2.70}/GOVERNANCE.md +0 -0
  28. {repoauditor-0.2.69 → repoauditor-0.2.70}/LICENSE +0 -0
  29. {repoauditor-0.2.69 → repoauditor-0.2.70}/MAINTAINERS.md +0 -0
  30. {repoauditor-0.2.69 → repoauditor-0.2.70}/README.md +0 -0
  31. {repoauditor-0.2.69 → repoauditor-0.2.70}/SECURITY.md +0 -0
  32. {repoauditor-0.2.69 → repoauditor-0.2.70}/default_config.yaml +0 -0
  33. {repoauditor-0.2.69 → repoauditor-0.2.70}/minisign_key.pub +0 -0
  34. {repoauditor-0.2.69 → repoauditor-0.2.70}/pyproject.toml +0 -0
  35. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/AutoGitSemVer.yaml +0 -0
  36. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/CommandLineProcessor.py +0 -0
  37. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Display.py +0 -0
  38. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/EntryPoint.py +0 -0
  39. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/ExecuteModules.py +0 -0
  40. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +0 -0
  41. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Impl/__init__.py +0 -0
  42. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Module.py +0 -0
  43. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugin.py +0 -0
  44. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/CommunityStandardsQuery.py +0 -0
  45. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Impl/ExistsRequirementImpl.py +0 -0
  46. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Impl/__init__.py +0 -0
  47. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Module.py +0 -0
  48. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/CodeOfConduct.py +0 -0
  49. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/CodeOwners.py +0 -0
  50. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/Contributing.py +0 -0
  51. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/IssueTemplates.py +0 -0
  52. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/LicenseFile.py +0 -0
  53. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/PullRequestTemplates.py +0 -0
  54. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/ReadMe.py +0 -0
  55. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/SecurityPolicy.py +0 -0
  56. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/Requirements/__init__.py +0 -0
  57. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandards/__init__.py +0 -0
  58. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/CommunityStandardsPlugin.py +0 -0
  59. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +0 -0
  60. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +0 -0
  61. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowMainlineForcePushes.py +0 -0
  62. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +0 -0
  63. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +0 -0
  64. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +0 -0
  65. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
  66. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
  67. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
  68. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +0 -0
  69. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +0 -0
  70. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +0 -0
  71. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +0 -0
  72. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +0 -0
  73. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +0 -0
  74. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +0 -0
  75. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +0 -0
  76. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +0 -0
  77. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
  78. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
  79. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/DefaultBranchRequirements/Protected.py +0 -0
  80. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/DefaultBranchRequirements/__init__.py +0 -0
  81. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
  82. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
  83. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRulesetRequirementImpl.py +0 -0
  84. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
  85. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
  86. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/Module.py +0 -0
  87. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/RulesetQuery.py +0 -0
  88. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/RulesetRequirements/RequirePullRequests.py +0 -0
  89. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/RulesetRequirements/RequireSignedCommits.py +0 -0
  90. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/RulesetRequirements/RequireStatusChecks.py +0 -0
  91. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/RulesetRequirements/__init__.py +0 -0
  92. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
  93. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/AutoMerge.py +0 -0
  94. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/DefaultBranch.py +0 -0
  95. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/DeleteHeadBranches.py +0 -0
  96. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/DependabotSecurityUpdates.py +0 -0
  97. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/Description.py +0 -0
  98. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
  99. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/Impl/StandardValueRequirementImpl.py +0 -0
  100. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/Impl/__init__.py +0 -0
  101. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/License.py +0 -0
  102. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/MergeCommit.py +0 -0
  103. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/MergeCommitMessage.py +0 -0
  104. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/Private.py +0 -0
  105. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/RebaseMergeCommit.py +0 -0
  106. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SecretScanning.py +0 -0
  107. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SecretScanningPushProtection.py +0 -0
  108. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SquashCommitMerge.py +0 -0
  109. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SquashMergeCommitMessage.py +0 -0
  110. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SuggestUpdatingPullRequestBranches.py +0 -0
  111. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SupportDiscussions.py +0 -0
  112. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SupportIssues.py +0 -0
  113. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SupportProjects.py +0 -0
  114. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/SupportWikis.py +0 -0
  115. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/TemplateRepository.py +0 -0
  116. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/WebCommitSignoff.py +0 -0
  117. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/StandardRequirements/__init__.py +0 -0
  118. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
  119. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHubBase/__init__.py +0 -0
  120. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
  121. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Plugins/__init__.py +0 -0
  122. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Query.py +0 -0
  123. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/Requirement.py +0 -0
  124. {repoauditor-0.2.69 → repoauditor-0.2.70}/src/RepoAuditor/py.typed +0 -0
  125. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/CommandLineProcessor_UnitTest.py +0 -0
  126. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/EntryPoint_UnitTest.py +0 -0
  127. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/ExecuteModules_UnitTest.py +0 -0
  128. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Module_UnitTest.py +0 -0
  129. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugin_UnitTest.py +0 -0
  130. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/CommunityStandards/CommunityStandardsQuery_UnitTest.py +0 -0
  131. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/CommunityStandards/ExistsRequirementImpl_UnitTest.py +0 -0
  132. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/CommunityStandards/GitHubCommunityStandards_UnitTest.py +0 -0
  133. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicBranchProtectionQuery_UnitTest.py +0 -0
  134. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals_UnitTest.py +0 -0
  135. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/EnsureStatusChecks_UnitTest.py +0 -0
  136. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush_UnitTest.py +0 -0
  137. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireApprovals_UnitTest.py +0 -0
  138. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireCodeOwnerReview_UnitTest.py +0 -0
  139. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicBranchProtectionRequirements/RequireUpToDateBranches_UnitTest.py +0 -0
  140. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ClassicValueRequirementImpl_UnitTest.py +0 -0
  141. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/DefaultBranchQueryRequirements/Protected_UnitTest.py +0 -0
  142. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/DefaultBranchQuery_UnitTest.py +0 -0
  143. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/EnableRulesetRequirementImpl_UnitTest.py +0 -0
  144. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/GitHubModule_UnitTest.py +0 -0
  145. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/GitHubSession_UnitTest.py +0 -0
  146. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/RulesetRequirements_UnitTest.py +0 -0
  147. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/RulsesetQuery_UnitTest.py +0 -0
  148. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/DependabotSecurityUpdates_UnitTest.py +0 -0
  149. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/Description_UnitTest.py +0 -0
  150. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/License_UnitTest.py +0 -0
  151. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/MergeCommitMessage_UnitTest.py +0 -0
  152. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/Private_UnitTest.py +0 -0
  153. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/SecretScanningPushProtection_UnitTest.py +0 -0
  154. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/SecretScanning_UnitTest.py +0 -0
  155. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQueryRequirements/SquashMergeCommitMessage_UnitTest.py +0 -0
  156. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/StandardQuery_UnitTest.py +0 -0
  157. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/GitHubModule/ValueRequrementImpl_UnitTest.py +0 -0
  158. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/__snapshots__/CommunityStandards_EndToEndTest.ambr +0 -0
  159. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/__snapshots__/GitHubEnterprise_EndToEndTest.ambr +0 -0
  160. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +0 -0
  161. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/conftest.py +0 -0
  162. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Plugins/utilities.py +0 -0
  163. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Query_UnitTest.py +0 -0
  164. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/Requirement_UnitTest.py +0 -0
  165. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/__init__.py +0 -0
  166. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
  167. {repoauditor-0.2.69 → repoauditor-0.2.70}/tests/conftest.py +0 -0
  168. {repoauditor-0.2.69 → repoauditor-0.2.70}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RepoAuditor
3
- Version: 0.2.69
3
+ Version: 0.2.70
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
@@ -58,6 +58,17 @@ class GitHubBaseModule(Module):
58
58
  @override
59
59
  def GenerateInitialData(self, dynamic_args: dict[str, Any]) -> Optional[dict[str, Any]]:
60
60
  """Generate the initial data to be used in the `dynamic_args`, such as session info, etc."""
61
+ # Read the PAT (if provided) as a filename or a value.
62
+ # This also decouples the PAT reading logic from the GitHubSession class (which may be mocked for testing).
63
+ github_pat = dynamic_args.get("pat")
64
+ if github_pat:
65
+ potential_file = Path(github_pat)
66
+ if potential_file.is_file():
67
+ with potential_file.open("r") as f:
68
+ github_pat = f.read().strip()
69
+ # Re-assign github_pat so it can be used within the subclassed modules.
70
+ dynamic_args["pat"] = github_pat
71
+
61
72
  # Create a GitHub API session
62
73
  dynamic_args["session"] = _GitHubSession(dynamic_args["url"], dynamic_args.get("pat"))
63
74
 
@@ -90,12 +101,6 @@ class _GitHubSession(requests.Session):
90
101
  )
91
102
 
92
103
  if github_pat:
93
- potential_file = Path(github_pat)
94
-
95
- if potential_file.is_file():
96
- with potential_file.open("r") as f:
97
- github_pat = f.read().strip()
98
-
99
104
  self.headers["Authorization"] = f"Bearer {github_pat}"
100
105
 
101
106
  github_url = github_url.removesuffix("/")
@@ -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.69"
5
+ __version__ = "0.2.70"
@@ -334,10 +334,7 @@ def args() -> list[str]:
334
334
  # ----------------------------------------------------------------------
335
335
  @pytest.fixture
336
336
  def pat_args(args) -> list[str]:
337
- _github_pat_filename = (Path(__file__).parent / "github_pat.txt").resolve()
338
- CheckPATFileExists(_github_pat_filename)
337
+ github_pat_filename = (Path(__file__).parent / "github_pat.txt").resolve()
338
+ CheckPATFileExists(github_pat_filename)
339
339
 
340
- with _github_pat_filename.open() as f:
341
- pat_value = f.read().strip()
342
-
343
- return args + ["--CommunityStandards-pat", pat_value]
340
+ return args + ["--CommunityStandards-pat", str(github_pat_filename)]
@@ -39,15 +39,12 @@ def args() -> list[str]:
39
39
  # ----------------------------------------------------------------------
40
40
  @pytest.fixture
41
41
  def pat_args(args) -> list[str]:
42
- _github_pat_filename = (Path(__file__).parent / "github_gatech_pat.txt").resolve()
42
+ github_pat_filename = (Path(__file__).parent / "github_gatech_pat.txt").resolve()
43
43
  parsed = urllib.parse.urlparse(GetGithubUrl("enterprise"))
44
44
  parsed = parsed._replace(path="")
45
- CheckPATFileExists(_github_pat_filename, github_url=parsed.geturl())
45
+ CheckPATFileExists(github_pat_filename, github_url=parsed.geturl())
46
46
 
47
- with _github_pat_filename.open() as f:
48
- pat_value = f.read().strip()
49
-
50
- return args + ["--GitHub-pat", pat_value]
47
+ return args + ["--GitHub-pat", str(github_pat_filename)]
51
48
 
52
49
 
53
50
  # ----------------------------------------------------------------------
@@ -18,6 +18,6 @@ def session():
18
18
 
19
19
  s = _GithubSession_()
20
20
  s.github_url = "https://github.com/gt-sse-center/RepoAuditor"
21
- s.pat = "dummy_github_pat.txt"
21
+ s.pat = "github_pat_dummy"
22
22
  s.is_enterprise = False
23
23
  return s
@@ -470,10 +470,7 @@ def args() -> list[str]:
470
470
  # ----------------------------------------------------------------------
471
471
  @pytest.fixture
472
472
  def pat_args(args) -> list[str]:
473
- _github_pat_filename = (Path(__file__).parent / "github_pat.txt").resolve()
474
- CheckPATFileExists(_github_pat_filename)
473
+ github_pat_filename = (Path(__file__).parent / "github_pat.txt").resolve()
474
+ CheckPATFileExists(github_pat_filename)
475
475
 
476
- with _github_pat_filename.open() as f:
477
- pat_value = f.read().strip()
478
-
479
- return args + ["--GitHub-pat", pat_value]
476
+ return args + ["--GitHub-pat", str(github_pat_filename)]
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes