pyrig-codeql 3.1.54__tar.gz → 3.3.0__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.
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/PKG-INFO +2 -2
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/pyproject.toml +6 -6
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/pyproject.toml.orig +6 -6
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/code_analysis.py +8 -13
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/health_check.py +0 -1
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/LICENSE +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/README.md +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/py.typed +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/version_control/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/version_control/remote/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/version_control/remote/code_analyzer.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/resources/__init__.py +0 -0
- /pyrig_codeql-3.1.54/src/pyrig_codeql/rig/resources/ACTION_CODEQL_ANALYZE → /pyrig_codeql-3.3.0/src/pyrig_codeql/rig/resources/action_codeql_analyze +0 -0
- /pyrig_codeql-3.1.54/src/pyrig_codeql/rig/resources/ACTION_CODEQL_INIT → /pyrig_codeql-3.3.0/src/pyrig_codeql/rig/resources/action_codeql_init +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/tools/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/tools/security/__init__.py +0 -0
- {pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/tools/security/code.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyrig-codeql
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.3.0
|
|
4
4
|
Summary: A pyrig plugin that integrates GitHub CodeQL.
|
|
5
5
|
Keywords: pyrig
|
|
6
6
|
Author: Winipedia
|
|
@@ -14,7 +14,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.14
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.15
|
|
16
16
|
Classifier: Typing :: Typed
|
|
17
|
-
Requires-Dist: pyrig>=19.
|
|
17
|
+
Requires-Dist: pyrig>=19.51.0
|
|
18
18
|
Maintainer: Winipedia
|
|
19
19
|
Maintainer-email: Winipedia <winipedia@gmx.de>
|
|
20
20
|
Requires-Python: >=3.12
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyrig-codeql"
|
|
3
|
-
version = "3.
|
|
3
|
+
version = "3.3.0"
|
|
4
4
|
description = "A pyrig plugin that integrates GitHub CodeQL."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Programming Language :: Python :: 3.15",
|
|
17
17
|
"Typing :: Typed",
|
|
18
18
|
]
|
|
19
|
-
dependencies = ["pyrig>=19.
|
|
19
|
+
dependencies = ["pyrig>=19.51.0"]
|
|
20
20
|
|
|
21
21
|
[[project.authors]]
|
|
22
22
|
name = "Winipedia"
|
|
@@ -43,14 +43,14 @@ dev = [
|
|
|
43
43
|
"deptry>=0.25.1",
|
|
44
44
|
"detect-secrets>=1.5.0",
|
|
45
45
|
"hypofuzz>=25.11.1",
|
|
46
|
-
"hypothesis>=6.170.
|
|
46
|
+
"hypothesis>=6.170.23",
|
|
47
47
|
"mkdocstrings[python]>=1.0.8",
|
|
48
48
|
"pre-commit-hooks>=6.0.0",
|
|
49
49
|
"prek>=0.5.12",
|
|
50
50
|
"pyflakes>=4.1.0",
|
|
51
|
-
"pyorder>=1.0.
|
|
52
|
-
"pyrig-opensource>=1.3.
|
|
53
|
-
"pyrig-plugin>=1.2.
|
|
51
|
+
"pyorder>=1.0.81",
|
|
52
|
+
"pyrig-opensource>=1.3.109",
|
|
53
|
+
"pyrig-plugin>=1.2.108",
|
|
54
54
|
"pytest>=9.2.0",
|
|
55
55
|
"pytest-cov>=7.1.0",
|
|
56
56
|
"pytest-randomly>=5.1.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "pyrig-codeql"
|
|
3
|
-
version = "3.
|
|
3
|
+
version = "3.3.0"
|
|
4
4
|
description = "A pyrig plugin that integrates GitHub CodeQL."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.12"
|
|
@@ -27,7 +27,7 @@ classifiers = [
|
|
|
27
27
|
"Typing :: Typed",
|
|
28
28
|
]
|
|
29
29
|
dependencies = [
|
|
30
|
-
"pyrig>=19.
|
|
30
|
+
"pyrig>=19.51.0",
|
|
31
31
|
]
|
|
32
32
|
|
|
33
33
|
[project.urls]
|
|
@@ -47,14 +47,14 @@ dev = [
|
|
|
47
47
|
"deptry>=0.25.1",
|
|
48
48
|
"detect-secrets>=1.5.0",
|
|
49
49
|
"hypofuzz>=25.11.1",
|
|
50
|
-
"hypothesis>=6.170.
|
|
50
|
+
"hypothesis>=6.170.23",
|
|
51
51
|
"mkdocstrings[python]>=1.0.8",
|
|
52
52
|
"pre-commit-hooks>=6.0.0",
|
|
53
53
|
"prek>=0.5.12",
|
|
54
54
|
"pyflakes>=4.1.0",
|
|
55
|
-
"pyorder>=1.0.
|
|
56
|
-
"pyrig-opensource>=1.3.
|
|
57
|
-
"pyrig-plugin>=1.2.
|
|
55
|
+
"pyorder>=1.0.81",
|
|
56
|
+
"pyrig-opensource>=1.3.109",
|
|
57
|
+
"pyrig-plugin>=1.2.108",
|
|
58
58
|
"pytest>=9.2.0",
|
|
59
59
|
"pytest-cov>=7.1.0",
|
|
60
60
|
"pytest-randomly>=5.1.0",
|
|
@@ -33,7 +33,6 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
33
33
|
def job_check_alerts(self) -> dict[str, Any]:
|
|
34
34
|
"""Check CodeQL alerts after all language analyses have completed."""
|
|
35
35
|
return self.job(
|
|
36
|
-
self.job_check_alerts,
|
|
37
36
|
needs=(self.job_analyze,),
|
|
38
37
|
permissions=self.permissions_job_check_alerts(),
|
|
39
38
|
steps=self.steps_check_alerts(),
|
|
@@ -43,7 +42,6 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
43
42
|
def job_analyze(self) -> dict[str, Any]:
|
|
44
43
|
"""Build the matrix job that analyzes Python and workflow code."""
|
|
45
44
|
return self.job(
|
|
46
|
-
self.job_analyze,
|
|
47
45
|
strategy=self.strategy_matrix(
|
|
48
46
|
matrix=self.matrix({"language": ["python", "actions"]}),
|
|
49
47
|
),
|
|
@@ -56,9 +54,9 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
56
54
|
"""Grant read access to code-scanning alerts."""
|
|
57
55
|
return self.permission("security-events")
|
|
58
56
|
|
|
59
|
-
def steps_check_alerts(self) ->
|
|
57
|
+
def steps_check_alerts(self) -> tuple[Callable[[], dict[str, Any]], ...]:
|
|
60
58
|
"""Return the CodeQL alert-check step."""
|
|
61
|
-
return
|
|
59
|
+
return (self.step_check_alerts,)
|
|
62
60
|
|
|
63
61
|
def permissions_job_analyze(self) -> dict[str, str]:
|
|
64
62
|
"""Grant the permissions required to analyze and upload CodeQL results."""
|
|
@@ -71,7 +69,6 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
71
69
|
def step_check_alerts(self) -> dict[str, Any]:
|
|
72
70
|
"""Fail if the analyzed ref has any open CodeQL alerts."""
|
|
73
71
|
return self.step(
|
|
74
|
-
self.step_check_alerts,
|
|
75
72
|
run=RemoteVersionController.I.api_method_args(
|
|
76
73
|
'--raw-field="ref=${GITHUB_REF}"',
|
|
77
74
|
"--raw-field=state=open",
|
|
@@ -83,25 +80,23 @@ class CodeAnalysisWorkflowConfigFile(WorkflowConfigFile):
|
|
|
83
80
|
env={"GH_TOKEN": self.insert_github_token()},
|
|
84
81
|
)
|
|
85
82
|
|
|
86
|
-
def steps_analyze(self) ->
|
|
83
|
+
def steps_analyze(self) -> tuple[Callable[[], dict[str, Any]], ...]:
|
|
87
84
|
"""Return checkout, initialization, and analysis steps."""
|
|
88
|
-
return
|
|
89
|
-
self.step_checkout_repository
|
|
90
|
-
self.step_initialize_codeql
|
|
91
|
-
self.step_analyze_code
|
|
92
|
-
|
|
85
|
+
return (
|
|
86
|
+
self.step_checkout_repository,
|
|
87
|
+
self.step_initialize_codeql,
|
|
88
|
+
self.step_analyze_code,
|
|
89
|
+
)
|
|
93
90
|
|
|
94
91
|
def step_analyze_code(self) -> dict[str, Any]:
|
|
95
92
|
"""Run the CodeQL analysis and upload its results."""
|
|
96
93
|
return self.step(
|
|
97
|
-
self.step_analyze_code,
|
|
98
94
|
uses=self.action_codeql_analyze(),
|
|
99
95
|
)
|
|
100
96
|
|
|
101
97
|
def step_initialize_codeql(self) -> dict[str, Any]:
|
|
102
98
|
"""Initialize CodeQL for the current matrix language."""
|
|
103
99
|
return self.step(
|
|
104
|
-
self.step_initialize_codeql,
|
|
105
100
|
uses=self.action_codeql_init(),
|
|
106
101
|
with_={
|
|
107
102
|
"languages": self.insert_expression("matrix.language"),
|
|
@@ -26,6 +26,5 @@ class HealthCheckWorkflowConfigFile(BaseHealthCheckWorkflowConfigFile):
|
|
|
26
26
|
def job_code_analysis(self) -> dict[str, Any]:
|
|
27
27
|
"""Call the reusable code-analysis workflow."""
|
|
28
28
|
return self.job_workflow_call(
|
|
29
|
-
self.job_code_analysis,
|
|
30
29
|
workflow=CodeAnalysisWorkflowConfigFile,
|
|
31
30
|
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyrig_codeql-3.1.54 → pyrig_codeql-3.3.0}/src/pyrig_codeql/rig/configs/version_control/__init__.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
|