pyrig-codeql 1.7.14__tar.gz → 1.8.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.
Files changed (17) hide show
  1. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/PKG-INFO +2 -2
  2. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/pyproject.toml +2 -2
  3. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/pyproject.toml.orig +2 -2
  4. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/health_check.py +3 -16
  5. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/LICENSE +0 -0
  6. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/README.md +0 -0
  7. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/__init__.py +0 -0
  8. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/py.typed +0 -0
  9. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/__init__.py +0 -0
  10. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/configs/__init__.py +0 -0
  11. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/configs/version_control/__init__.py +0 -0
  12. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/configs/version_control/remote/__init__.py +0 -0
  13. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/configs/version_control/remote/code_analyzer.py +0 -0
  14. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/configs/version_control/remote/workflows/__init__.py +0 -0
  15. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/resources/ACTION_CODEQL_ANALYZE +0 -0
  16. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/resources/ACTION_CODEQL_INIT +0 -0
  17. {pyrig_codeql-1.7.14 → pyrig_codeql-1.8.0}/src/pyrig_codeql/rig/resources/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyrig-codeql
3
- Version: 1.7.14
3
+ Version: 1.8.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.10.0
17
+ Requires-Dist: pyrig>=19.18.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 = "1.7.14"
3
+ version = "1.8.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.10.0"]
19
+ dependencies = ["pyrig>=19.18.0"]
20
20
 
21
21
  [[project.authors]]
22
22
  name = "Winipedia"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pyrig-codeql"
3
- version = "1.7.14"
3
+ version = "1.8.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.10.0",
30
+ "pyrig>=19.18.0",
31
31
  ]
32
32
 
33
33
  [project.urls]
@@ -1,7 +1,6 @@
1
1
  """Health check workflow extended with CodeQL analysis and an open-alert gate."""
2
2
 
3
3
  from collections.abc import Callable
4
- from types import MethodType
5
4
  from typing import Any, override
6
5
 
7
6
  from pyrig.rig.configs.version_control.remote.workflows.health_check import (
@@ -19,27 +18,15 @@ class HealthCheckWorkflowConfigFile(BaseHealthCheckWorkflowConfigFile):
19
18
  """Add CodeQL analysis and an open-alert gate to the health check workflow."""
20
19
 
21
20
  @override
22
- def job_health_check_needs(self) -> tuple[MethodType, ...]:
23
- """Return the upstream jobs required before the aggregate job runs.
24
-
25
- Prepends the CodeQL analysis job to the two base health-check jobs so
26
- the aggregate status remains a release gate for every analysis.
27
-
28
- Returns:
29
- The base class's dependencies plus the CodeQL analysis job.
30
- """
31
- return (self.job_analyze, *super().job_health_check_needs())
32
-
33
- @override
34
- def jobs(self) -> tuple[Callable[[], dict[str, Any]], ...]:
21
+ def health_check_jobs(self) -> tuple[Callable[[], dict[str, Any]], ...]:
35
22
  """Return the base job builders, extended with the CodeQL analysis builder.
36
23
 
37
24
  Returns:
38
- Tuple of the CodeQL analysis builder followed by the base job builders.
25
+ Tuple of the base job builders followed by the CodeQL analysis builder.
39
26
  """
40
27
  return (
28
+ *super().health_check_jobs(),
41
29
  self.job_analyze,
42
- *super().jobs(),
43
30
  )
44
31
 
45
32
  def job_analyze(self) -> dict[str, Any]:
File without changes
File without changes