Skip to content

Commit

Permalink
Update dpkg versions list
Browse files Browse the repository at this point in the history
From the artifact of the previous workflow run
  • Loading branch information
geo-ghci-int[bot] committed Nov 15, 2024
1 parent 354dc5c commit 1801226
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 78 deletions.
49 changes: 23 additions & 26 deletions github_app_geo_project/module/audit/configuration.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
"""
Automatically generated file from a JSON schema.
"""

from typing import Any, Dict, List, Literal, TypedDict, Union
"""Automatically generated file from a JSON schema."""

from typing import Any, Literal, TypedDict, Union

# | Audit configuration.
AuditConfiguration = TypedDict(
Expand All @@ -19,7 +16,7 @@
# |
# | default:
# | {}
"version-mapping": Dict[str, str],
"version-mapping": dict[str, str],
},
total=False,
)
Expand Down Expand Up @@ -117,7 +114,7 @@ class DpkgConfiguration(TypedDict, total=False):
default: True
"""

sources: Dict[str, List["_DpkgSourcesAdditionalpropertiesItem"]]
sources: dict[str, list["_DpkgSourcesAdditionalpropertiesItem"]]
"""
Dpkg sources.
Expand Down Expand Up @@ -215,23 +212,23 @@ class DpkgConfiguration(TypedDict, total=False):
""" Default value of the field path 'Snyk configuration enabled' """


FILES_NOT_TO_INSTALL_DEFAULT: List[Any] = []
FILES_NOT_TO_INSTALL_DEFAULT: list[Any] = []
""" Default value of the field path 'Snyk configuration files-no-install' """


JAVA_PATH_BY_GRADLE_VERSION_DEFAULT: Dict[str, Any] = {}
JAVA_PATH_BY_GRADLE_VERSION_DEFAULT: dict[str, Any] = {}
""" Default value of the field path 'Snyk configuration java-path-for-gradle' """


PIPENV_SYNC_ARGUMENTS_DEFAULT: List[Any] = []
PIPENV_SYNC_ARGUMENTS_DEFAULT: list[Any] = []
""" Default value of the field path 'Snyk configuration pipenv-sync-arguments' """


PIP_INSTALL_ARGUMENTS_DEFAULT: List[Any] = []
PIP_INSTALL_ARGUMENTS_DEFAULT: list[Any] = []
""" Default value of the field path 'Snyk configuration pip-install-arguments' """


POETRY_INSTALL_ARGUMENTS_DEFAULT: List[Any] = []
POETRY_INSTALL_ARGUMENTS_DEFAULT: list[Any] = []
""" Default value of the field path 'Snyk configuration poetry-install-arguments' """


Expand Down Expand Up @@ -263,57 +260,57 @@ class DpkgConfiguration(TypedDict, total=False):
# |
# | default:
# | []
"files-no-install": List[str],
"files-no-install": list[str],
# | Pip install arguments.
# |
# | Arguments to pass to pip install
# |
# | default:
# | []
"pip-install-arguments": List[str],
"pip-install-arguments": list[str],
# | Pipenv sync arguments.
# |
# | Arguments to pass to pipenv sync
# |
# | default:
# | []
"pipenv-sync-arguments": List[str],
"pipenv-sync-arguments": list[str],
# | Poetry install arguments.
# |
# | Arguments to pass to pip install
# |
# | default:
# | []
"poetry-install-arguments": List[str],
"poetry-install-arguments": list[str],
# | Java path by Gradle version.
# |
# | Path to the directory that contains Java executable to use for the Gradle minor version
# |
# | default:
# | {}
"java-path-for-gradle": Dict[str, str],
"java-path-for-gradle": dict[str, str],
# | Snyk monitor arguments.
# |
# | Arguments to pass to Snyk monitor
# |
# | default:
# | - --all-projects
"monitor-arguments": List[str],
"monitor-arguments": list[str],
# | Snyk test arguments.
# |
# | Arguments to pass to Snyk test
# |
# | default:
# | - --all-projects
# | - --severity-threshold=medium
"test-arguments": List[str],
"test-arguments": list[str],
# | Snyk fix arguments.
# |
# | Arguments to pass to Snyk fix
# |
# | default:
# | - --all-projects
"fix-arguments": List[str],
"fix-arguments": list[str],
# | Snyk monitor configuration.
"monitor": "SnykMonitorConfiguration",
},
Expand All @@ -329,28 +326,28 @@ class DpkgConfiguration(TypedDict, total=False):
# |
# | Set the project environment project attribute. To clear the project environment set empty array.
# | For more information see Project attributes https://docs.snyk.io/getting-started/introduction-to-snyk-projects/view-project-information/project-attributes
"project-environment": List["_SnykMonitorEnvironmentItem"],
"project-environment": list["_SnykMonitorEnvironmentItem"],
# | Snyk monitor lifecycle.
# |
# | Set the project lifecycle project attribute. To clear the project lifecycle set empty array.
# | For more information see Project attributes https://docs.snyk.io/snyk-admin/snyk-projects/project-tags
"project-lifecycle": List["_SnykMonitorLifecycleItem"],
"project-lifecycle": list["_SnykMonitorLifecycleItem"],
# | Snyk monitor business criticality.
# |
# | Set the project business criticality project attribute. To clear the project business criticality set empty array.
# | For more information see Project attributes https://docs.snyk.io/snyk-admin/snyk-projects/project-tags
"project-business-criticality": List["_SnykMonitorBusinessCriticalityItem"],
"project-business-criticality": list["_SnykMonitorBusinessCriticalityItem"],
# | Snyk monitor tags.
# |
# | Set the project tags to one or more values.
# | To clear the project tags set empty dictionary.
"project-tags": Dict[str, str],
"project-tags": dict[str, str],
},
total=False,
)


VERSION_MAPPING_DEFAULT: Dict[str, Any] = {}
VERSION_MAPPING_DEFAULT: dict[str, Any] = {}
""" Default value of the field path 'Audit configuration version-mapping' """


Expand All @@ -369,7 +366,7 @@ class _DpkgSourcesAdditionalpropertiesItem(TypedDict, total=False):
Distribution of the source
"""

components: List[str]
components: list[str]
"""
Components.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
"""
Automatically generated file from a JSON schema.
"""
"""Automatically generated file from a JSON schema."""

from typing import TypedDict

from typing import List, TypedDict
from typing_extensions import Required


class DeleteOldWorkflowRunsConfiguration(TypedDict, total=False):
"""Delete old workflow runs configuration."""

rules: List["Rule"]
rules: list["Rule"]


# | Rule.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
"""
Automatically generated file from a JSON schema.
"""

from typing import List, TypedDict, Union
"""Automatically generated file from a JSON schema."""

from typing import TypedDict, Union

CODESPELL_ARGUMENTS_DEFAULT = ["--quiet-level=2", "--check-filenames", "--ignore-words-list=ro"]
""" Default value of the field path 'Codespell arguments' """
Expand Down Expand Up @@ -34,7 +31,7 @@
# | - code
# | - names
# | - en-GB_to_en-US
"internal-dictionaries": List[str],
"internal-dictionaries": list[str],
# | codespell arguments.
# |
# | List of argument that will be added to the codespell command
Expand All @@ -43,15 +40,15 @@
# | - --quiet-level=2
# | - --check-filenames
# | - --ignore-words-list=ro
"arguments": List[str],
"arguments": list[str],
# | codespell ignore regular expression.
# |
# | List of regular expression that should be ignored
# |
# | default:
# | - (.*/)?poetry\.lock
# | - (.*/)?package-lock\.json
"ignore-re": List[str],
"ignore-re": list[str],
},
total=False,
)
Expand Down
19 changes: 8 additions & 11 deletions github_app_geo_project/module/pull_request/links_configuration.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
"""
Automatically generated file from a JSON schema.
"""

from typing import Dict, List, TypedDict
"""Automatically generated file from a JSON schema."""

from typing import TypedDict

BRANCH_PATTERNS_DEFAULT = [
"^(?P<project>[A-Z]{3,6})-(?P<issue>[0-9]+)-.*$",
Expand All @@ -27,23 +24,23 @@
# | - ^(?P<project>[a-z]{3,6})-(?P<issue>[0-9]+)-.*$
# | - ^.*-(?P<project>[A-Z]{3,6})-(?P<issue>[0-9]+)$
# | - ^.*-(?P<project>[a-z]{3,6})-(?P<issue>[0-9]+)$
"branch-patterns": List[str],
"branch-patterns": list[str],
# | Blacklist.
# |
# | List of regular expressions used to exclude some parameters values
"blacklist": Dict[str, List[str]],
"blacklist": dict[str, list[str]],
# | Uppercase.
# |
# | List of parameters to convert to uppercase
"uppercase": List[str],
"uppercase": list[str],
# | Lowercase.
# |
# | List of parameters to convert to lowercase
"lowercase": List[str],
"lowercase": list[str],
# | Content.
# |
# | List of elements to add to the pull request
"content": List["_ContentItem"],
"content": list["_ContentItem"],
},
total=False,
)
Expand All @@ -58,4 +55,4 @@ class _ContentItem(TypedDict, total=False):
""" default: """

url: str
requires: List[str]
requires: list[str]
8 changes: 3 additions & 5 deletions github_app_geo_project/module/standard/auto_configuration.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
"""
Automatically generated file from a JSON schema.
"""
"""Automatically generated file from a JSON schema."""

from typing import List, TypedDict
from typing import TypedDict


class AutoPullRequest(TypedDict, total=False):
Expand All @@ -12,7 +10,7 @@ class AutoPullRequest(TypedDict, total=False):
auto pull request configuration
"""

conditions: List["_ConditionsItem"]
conditions: list["_ConditionsItem"]
""" Conditions. """


Expand Down
17 changes: 7 additions & 10 deletions github_app_geo_project/module/standard/changelog_configuration.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
"""
Automatically generated file from a JSON schema.
"""

from typing import Dict, List, Literal, TypedDict, Union
"""Automatically generated file from a JSON schema."""

from typing import Literal, TypedDict, Union

CREATE_LABELS_DEFAULT = False
""" Default value of the field path 'Changelog create-labels' """
Expand Down Expand Up @@ -34,19 +31,19 @@
# | Changelog labels configuration.
# |
# | The labels configuration
"labels": Dict[str, "ChangelogLabelConfiguration"],
"labels": dict[str, "ChangelogLabelConfiguration"],
# | Changelog sections configuration.
# |
# | The sections configuration
"sections": List["Section"],
"sections": list["Section"],
# | Changelog default section.
# |
# | The default section for items
"default-section": str,
# | Routing.
# |
# | The routing configuration
"routing": List["ChangelogRoutingConfiguration"],
"routing": list["ChangelogRoutingConfiguration"],
},
total=False,
)
Expand Down Expand Up @@ -124,7 +121,7 @@ class ConditionAndSolidusOr(TypedDict, total=False):
type: "_ConditionAndSolidusOrType"
""" The type of the condition """

conditions: List["ConditionAndSolidusOr"]
conditions: list["ConditionAndSolidusOr"]
""" The value of the conditions """


Expand Down Expand Up @@ -164,7 +161,7 @@ class ConditionFiles(TypedDict, total=False):
type: Literal["files"]
""" The type of the condition """

regex: List["_ConditionFilesRegexItem"]
regex: list["_ConditionFilesRegexItem"]
""" The list of regex that all the files should match """


Expand Down
Loading

0 comments on commit 1801226

Please sign in to comment.