RepoAuditor 0.2.6__tar.gz → 0.2.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. {repoauditor-0.2.6 → repoauditor-0.2.7}/PKG-INFO +1 -1
  2. {repoauditor-0.2.6 → repoauditor-0.2.7}/pyproject.toml +1 -1
  3. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/ExecuteModules.py +3 -3
  4. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +1 -1
  5. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Query.py +1 -1
  6. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/__init__.py +1 -1
  7. {repoauditor-0.2.6 → repoauditor-0.2.7}/.copier-answers.yml +0 -0
  8. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/CODEOWNERS +0 -0
  9. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  10. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  11. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/custom.md +0 -0
  12. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  13. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/actions/release_impl/action.yml +0 -0
  14. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/pull_request_template.md +0 -0
  15. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/release_sources.yaml +0 -0
  16. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/workflows/CICD.yml +0 -0
  17. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/workflows/CICD_impl.yml +0 -0
  18. {repoauditor-0.2.6 → repoauditor-0.2.7}/.github/workflows/codeql.yml +0 -0
  19. {repoauditor-0.2.6 → repoauditor-0.2.7}/.gitignore +0 -0
  20. {repoauditor-0.2.6 → repoauditor-0.2.7}/.pre-commit-config.yaml +0 -0
  21. {repoauditor-0.2.6 → repoauditor-0.2.7}/.python-version +0 -0
  22. {repoauditor-0.2.6 → repoauditor-0.2.7}/CODE_OF_CONDUCT.md +0 -0
  23. {repoauditor-0.2.6 → repoauditor-0.2.7}/CONTRIBUTING.md +0 -0
  24. {repoauditor-0.2.6 → repoauditor-0.2.7}/DEVELOPMENT.md +0 -0
  25. {repoauditor-0.2.6 → repoauditor-0.2.7}/GOVERNANCE.md +0 -0
  26. {repoauditor-0.2.6 → repoauditor-0.2.7}/LICENSE +0 -0
  27. {repoauditor-0.2.6 → repoauditor-0.2.7}/MAINTAINERS.md +0 -0
  28. {repoauditor-0.2.6 → repoauditor-0.2.7}/README.md +0 -0
  29. {repoauditor-0.2.6 → repoauditor-0.2.7}/SECURITY.md +0 -0
  30. {repoauditor-0.2.6 → repoauditor-0.2.7}/minisign_key.pub +0 -0
  31. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/AutoGitSemVer.yaml +0 -0
  32. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/CommandLineProcessor.py +0 -0
  33. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/EntryPoint.py +0 -0
  34. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Impl/__init__.py +0 -0
  35. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Module.py +0 -0
  36. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugin.py +0 -0
  37. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +0 -0
  38. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +0 -0
  39. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowForcePushes.py +0 -0
  40. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +0 -0
  41. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +0 -0
  42. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +0 -0
  43. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
  44. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
  45. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
  46. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +0 -0
  47. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +0 -0
  48. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +0 -0
  49. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +0 -0
  50. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +0 -0
  51. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +0 -0
  52. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +0 -0
  53. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +0 -0
  54. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +0 -0
  55. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
  56. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
  57. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/Protected.py +0 -0
  58. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/__init__.py +0 -0
  59. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
  60. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
  61. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
  62. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
  63. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/Module.py +0 -0
  64. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
  65. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/AutoMerge.py +0 -0
  66. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DefaultBranch.py +0 -0
  67. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DeleteHeadBranches.py +0 -0
  68. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DependabotSecurityUpdates.py +0 -0
  69. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Description.py +0 -0
  70. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
  71. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardValueRequirementImpl.py +0 -0
  72. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/__init__.py +0 -0
  73. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/License.py +0 -0
  74. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommit.py +0 -0
  75. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommitMessage.py +0 -0
  76. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Private.py +0 -0
  77. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/RebaseMergeCommit.py +0 -0
  78. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanning.py +0 -0
  79. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanningPushProtection.py +0 -0
  80. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashCommitMerge.py +0 -0
  81. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashMergeCommitMessage.py +0 -0
  82. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SuggestUpdatingPullRequestBranches.py +0 -0
  83. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportDiscussions.py +0 -0
  84. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportIssues.py +0 -0
  85. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportProjects.py +0 -0
  86. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportWikis.py +0 -0
  87. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/TemplateRepository.py +0 -0
  88. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/WebCommitSignoff.py +0 -0
  89. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/__init__.py +0 -0
  90. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
  91. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
  92. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Plugins/__init__.py +0 -0
  93. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/Requirement.py +0 -0
  94. {repoauditor-0.2.6 → repoauditor-0.2.7}/src/RepoAuditor/py.typed +0 -0
  95. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/CommandLineProcessor_UnitTest.py +0 -0
  96. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/EntryPoint_UnitTest.py +0 -0
  97. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/ExecuteModules_UnitTest.py +0 -0
  98. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Module_UnitTest.py +0 -0
  99. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Plugin_UnitTest.py +0 -0
  100. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Plugins/GitHubModule_UnitTest.py +0 -0
  101. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Plugins/GitHub_EndToEndTest.py +0 -0
  102. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +0 -0
  103. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Plugins/utilities.py +0 -0
  104. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Query_UnitTest.py +0 -0
  105. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/Requirement_UnitTest.py +0 -0
  106. {repoauditor-0.2.6 → repoauditor-0.2.7}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
  107. {repoauditor-0.2.6 → repoauditor-0.2.7}/uv.lock +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: RepoAuditor
3
- Version: 0.2.6
3
+ Version: 0.2.7
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
@@ -104,7 +104,7 @@ select = [
104
104
  "PIE",
105
105
  "T20",
106
106
  "PYI",
107
- # "PT", # 5
107
+ "PT",
108
108
  "Q",
109
109
  "RSE",
110
110
  "RET",
@@ -71,7 +71,7 @@ def Execute(
71
71
  elif module_info.module.style == ExecutionStyle.Sequential:
72
72
  sequential.append((index, module_info))
73
73
  else:
74
- assert False, module_info.module.style # pragma: no cover
74
+ raise RuntimeError(module_info.module.style) # pragma: no cover
75
75
 
76
76
  if len(parallel) == 1:
77
77
  sequential.append(parallel[0])
@@ -282,7 +282,7 @@ def DisplayResults(
282
282
  elif result.result == EvaluateResult.DoesNotApply:
283
283
  num_does_not_apply += 1
284
284
  else:
285
- assert False, result.result # pragma: no cover
285
+ raise RuntimeError(result.result) # pragma: no cover
286
286
 
287
287
  num_requirements = module.GetNumRequirements()
288
288
  assert num_requirements
@@ -319,7 +319,7 @@ def DisplayResults(
319
319
  elif result.result == EvaluateResult.DoesNotApply:
320
320
  border_color = ""
321
321
  else:
322
- assert False, result.result # pragma: no cover
322
+ raise RuntimeError(result.result) # pragma: no cover
323
323
 
324
324
  content: list[str] = []
325
325
 
@@ -72,7 +72,7 @@ def _Impl(
72
72
  elif execution_style == ExecutionStyle.Sequential:
73
73
  sequential.append((index, item))
74
74
  else:
75
- assert False, execution_style # pragma: no cover
75
+ raise RuntimeError(execution_style) # pragma: no cover
76
76
 
77
77
  if len(parallel) == 1:
78
78
  sequential.append(parallel[0])
@@ -104,7 +104,7 @@ class Query(ABC):
104
104
  status_info.num_warning += 1
105
105
  return_code = 1
106
106
  else:
107
- assert False, result_info.result # pragma: no cover
107
+ raise RuntimeError(result_info.result) # pragma: no cover
108
108
 
109
109
  status_func(*status_info.__dict__.values())
110
110
 
@@ -3,4 +3,4 @@ APP_NAME = "RepoAuditor"
3
3
  # Note that this value will be overwritten by calls to `python ../../Build.py update_version` based
4
4
  # on changes observed in the git repository. The default value below will be used until the value
5
5
  # here is explicitly updated by the Continuous Integration system.
6
- __version__ = "0.2.6"
6
+ __version__ = "0.2.7"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes