RepoAuditor 0.2.7__tar.gz → 0.2.9__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.7 → repoauditor-0.2.9}/PKG-INFO +1 -1
- {repoauditor-0.2.7 → repoauditor-0.2.9}/pyproject.toml +4 -3
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/EntryPoint.py +1 -5
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/ExecuteModules.py +62 -60
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionQuery.py +1 -1
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/Module.py +2 -3
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/__init__.py +1 -1
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.copier-answers.yml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/CODEOWNERS +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/ISSUE_TEMPLATE/custom.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/actions/release_impl/action.yml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/pull_request_template.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/release_sources.yaml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/workflows/CICD.yml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/workflows/CICD_impl.yml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.github/workflows/codeql.yml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.gitignore +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.pre-commit-config.yaml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/.python-version +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/CODE_OF_CONDUCT.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/CONTRIBUTING.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/DEVELOPMENT.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/GOVERNANCE.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/LICENSE +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/MAINTAINERS.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/README.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/SECURITY.md +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/minisign_key.pub +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/AutoGitSemVer.yaml +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/CommandLineProcessor.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Impl/ParallelSequentialProcessor.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Impl/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Module.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugin.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowDeletions.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/AllowForcePushes.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DismissStalePullRequestApprovals.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/DoNotAllowBypassSettings.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/EnsureStatusChecks.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/ClassicValueRequirementImpl.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovalMostRecentPush.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireApprovals.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireCodeOwnerReview.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireConversationResolution.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireLinearHistory.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequirePullRequests.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireSignedCommits.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireStatusChecksToPass.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/RequireUpToDateBranches.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/ClassicBranchProtectionRequirements/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/Protected.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/Impl/Common.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/Impl/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQuery.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/AutoMerge.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DefaultBranch.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DeleteHeadBranches.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/DependabotSecurityUpdates.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Description.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardEnableRequirementImpl.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/StandardValueRequirementImpl.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Impl/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/License.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommit.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/MergeCommitMessage.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/Private.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/RebaseMergeCommit.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanning.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SecretScanningPushProtection.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashCommitMerge.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SquashMergeCommitMessage.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SuggestUpdatingPullRequestBranches.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportDiscussions.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportIssues.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportProjects.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/SupportWikis.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/TemplateRepository.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/WebCommitSignoff.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/StandardQueryRequirements/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHubPlugin.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/__init__.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Query.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Requirement.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/py.typed +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/CommandLineProcessor_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/EntryPoint_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/ExecuteModules_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Module_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Plugin_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Plugins/GitHubModule_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Plugins/GitHub_EndToEndTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Plugins/__snapshots__/GitHub_EndToEndTest.ambr +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Plugins/utilities.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Query_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/Requirement_UnitTest.py +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/tests/__snapshots__/ExecuteModules_UnitTest.ambr +0 -0
- {repoauditor-0.2.7 → repoauditor-0.2.9}/uv.lock +0 -0
|
@@ -109,11 +109,11 @@ select = [
|
|
|
109
109
|
"RSE",
|
|
110
110
|
"RET",
|
|
111
111
|
"SLF",
|
|
112
|
-
|
|
112
|
+
"SIM",
|
|
113
113
|
"SLOT",
|
|
114
114
|
# "TID", # 9
|
|
115
115
|
"TD",
|
|
116
|
-
|
|
116
|
+
"TC",
|
|
117
117
|
# "ARG", # 5
|
|
118
118
|
"PTH",
|
|
119
119
|
"FLY",
|
|
@@ -131,7 +131,7 @@ select = [
|
|
|
131
131
|
# "PGH", # 5
|
|
132
132
|
# "PL", # 11
|
|
133
133
|
# "UP", # 100
|
|
134
|
-
|
|
134
|
+
"FURB",
|
|
135
135
|
"RUF",
|
|
136
136
|
# "TRY", # 16
|
|
137
137
|
|
|
@@ -149,6 +149,7 @@ ignore = [
|
|
|
149
149
|
"N999", # Invalid module name
|
|
150
150
|
"RSE102", # Unnecessary parentheses on raise exception
|
|
151
151
|
"S101", # Use of assert detected
|
|
152
|
+
"TC006", # Add quotes to type expression in `typing.cast()`
|
|
152
153
|
"UP032", # Use f-string instead of `format` call
|
|
153
154
|
]
|
|
154
155
|
|
|
@@ -293,11 +293,7 @@ def EntryPoint(
|
|
|
293
293
|
display_rationale=not no_rationale,
|
|
294
294
|
)
|
|
295
295
|
except Exception as ex:
|
|
296
|
-
if dm.is_debug
|
|
297
|
-
error = traceback.format_exc()
|
|
298
|
-
else:
|
|
299
|
-
error = str(ex)
|
|
300
|
-
|
|
296
|
+
error = traceback.format_exc() if dm.is_debug else str(ex)
|
|
301
297
|
dm.WriteError(error)
|
|
302
298
|
|
|
303
299
|
|
|
@@ -179,69 +179,71 @@ def Execute(
|
|
|
179
179
|
all_results[all_results_index] = transformed_results
|
|
180
180
|
|
|
181
181
|
for index, (all_results_index, module_info) in enumerate(sequential):
|
|
182
|
-
with
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
182
|
+
with (
|
|
183
|
+
modules_dm.Nested(
|
|
184
|
+
"Processing '{}' ({} of {})...".format(
|
|
185
|
+
module_info.module.name,
|
|
186
|
+
index + 1 + len(parallel),
|
|
187
|
+
len(module_infos),
|
|
188
|
+
),
|
|
189
|
+
) as this_module_dm,
|
|
189
190
|
# rich.progress needs to output to sys.stdout
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
191
|
+
this_module_dm.YieldStdout() as stdout_context,
|
|
192
|
+
):
|
|
193
|
+
stdout_context.persist_content = False
|
|
194
|
+
|
|
195
|
+
# Technically speaking, it would be more correct to use `stdout_context.stream` here
|
|
196
|
+
# rather than referencing `sys.stdout` directly, but it is really hard to work with mocked
|
|
197
|
+
# stream as mocks will create mocks for everything called on the mock. Use sys.stdout
|
|
198
|
+
# directly to avoid that particular problem.
|
|
199
|
+
from unittest.mock import Mock, MagicMock
|
|
200
|
+
|
|
201
|
+
assert stdout_context.stream is sys.stdout or isinstance(
|
|
202
|
+
stdout_context.stream, (Mock, MagicMock)
|
|
203
|
+
), stdout_context.stream
|
|
204
|
+
|
|
205
|
+
with Progress(
|
|
206
|
+
*Progress.get_default_columns(),
|
|
207
|
+
TimeElapsedColumn(),
|
|
208
|
+
"{task.fields[status]}",
|
|
209
|
+
console=Capabilities.Get(sys.stdout).CreateRichConsole(sys.stdout),
|
|
210
|
+
transient=True,
|
|
211
|
+
refresh_per_second=10,
|
|
212
|
+
) as progress_bar:
|
|
213
|
+
progress_bar_task_id = progress_bar.add_task(
|
|
214
|
+
stdout_context.line_prefix,
|
|
215
|
+
status="",
|
|
216
|
+
total=module_info.module.GetNumRequirements(),
|
|
217
|
+
visible=True,
|
|
218
|
+
)
|
|
219
|
+
|
|
220
|
+
# ----------------------------------------------------------------------
|
|
221
|
+
def OnStatus(
|
|
222
|
+
num_completed: int,
|
|
223
|
+
num_success: int,
|
|
224
|
+
num_error: int,
|
|
225
|
+
num_warning: int,
|
|
226
|
+
num_does_not_apply: int,
|
|
227
|
+
) -> None:
|
|
228
|
+
progress_bar.update(
|
|
229
|
+
progress_bar_task_id,
|
|
230
|
+
completed=num_completed,
|
|
231
|
+
status=_CreateStatusString(
|
|
232
|
+
num_success,
|
|
233
|
+
num_error,
|
|
234
|
+
num_warning,
|
|
235
|
+
num_does_not_apply,
|
|
236
|
+
),
|
|
216
237
|
)
|
|
217
238
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
progress_bar.update(
|
|
227
|
-
progress_bar_task_id,
|
|
228
|
-
completed=num_completed,
|
|
229
|
-
status=_CreateStatusString(
|
|
230
|
-
num_success,
|
|
231
|
-
num_error,
|
|
232
|
-
num_warning,
|
|
233
|
-
num_does_not_apply,
|
|
234
|
-
),
|
|
235
|
-
)
|
|
236
|
-
|
|
237
|
-
# ----------------------------------------------------------------------
|
|
238
|
-
|
|
239
|
-
evaluate_results = Evaluate(module_info, OnStatus)
|
|
240
|
-
|
|
241
|
-
assert all_results[all_results_index] is None
|
|
242
|
-
all_results[all_results_index] = evaluate_results
|
|
243
|
-
|
|
244
|
-
this_module_dm.result = CalcResultInfo(evaluate_results)[0]
|
|
239
|
+
# ----------------------------------------------------------------------
|
|
240
|
+
|
|
241
|
+
evaluate_results = Evaluate(module_info, OnStatus)
|
|
242
|
+
|
|
243
|
+
assert all_results[all_results_index] is None
|
|
244
|
+
all_results[all_results_index] = evaluate_results
|
|
245
|
+
|
|
246
|
+
this_module_dm.result = CalcResultInfo(evaluate_results)[0]
|
|
245
247
|
|
|
246
248
|
final_results: list[list[Module.EvaluateInfo]] = []
|
|
247
249
|
|
|
@@ -117,7 +117,7 @@ class ClassicBranchProtectionQuery(Query):
|
|
|
117
117
|
self,
|
|
118
118
|
module_data: dict[str, Any],
|
|
119
119
|
) -> Optional[dict[str, Any]]:
|
|
120
|
-
branch = module_data.get("branch"
|
|
120
|
+
branch = module_data.get("branch")
|
|
121
121
|
if branch is None:
|
|
122
122
|
# Get the default branch name
|
|
123
123
|
response = module_data["session"].get("")
|
|
@@ -69,7 +69,7 @@ class GitHubModule(Module):
|
|
|
69
69
|
# ----------------------------------------------------------------------
|
|
70
70
|
@override
|
|
71
71
|
def GenerateInitialData(self, dynamic_args: dict[str, Any]) -> Optional[dict[str, Any]]:
|
|
72
|
-
dynamic_args["session"] = _GitHubSession(dynamic_args["url"], dynamic_args.get("pat"
|
|
72
|
+
dynamic_args["session"] = _GitHubSession(dynamic_args["url"], dynamic_args.get("pat"))
|
|
73
73
|
|
|
74
74
|
return dynamic_args
|
|
75
75
|
|
|
@@ -108,8 +108,7 @@ class _GitHubSession(requests.Session):
|
|
|
108
108
|
|
|
109
109
|
self.headers["Authorization"] = f"Bearer {github_pat}"
|
|
110
110
|
|
|
111
|
-
|
|
112
|
-
github_url = github_url[:-1]
|
|
111
|
+
github_url = github_url.removesuffix("/")
|
|
113
112
|
|
|
114
113
|
url_parts = urlparse(github_url)
|
|
115
114
|
path_parts = url_parts.path.split("/")
|
|
@@ -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.9"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/DefaultBranchQuery.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/Impl/EnableRequirementImpl.py
RENAMED
|
File without changes
|
{repoauditor-0.2.7 → repoauditor-0.2.9}/src/RepoAuditor/Plugins/GitHub/Impl/ValueRequirementImpl.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{repoauditor-0.2.7 → repoauditor-0.2.9}/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
|