Skip to content

Commit

Permalink
[create-pull-request] automated change (#58)
Browse files Browse the repository at this point in the history
Co-authored-by: henryiii <[email protected]>
  • Loading branch information
github-actions[bot] and henryiii authored Aug 8, 2024
1 parent 87e6fb5 commit 4ece506
Show file tree
Hide file tree
Showing 4 changed files with 164 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build-backend = "hatchling.build"

[project]
name = "validate-pyproject-schema-store"
version = "2024.07.29"
version = "2024.08.08"
authors = [
{ name = "Henry Schreiner", email = "[email protected]" },
]
Expand Down
12 changes: 12 additions & 0 deletions src/validate_pyproject_schema_store/resources/pyright.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@
"x-intellij-html-description": "<a href=\"https://peps.python.org/pep-0484/\">PEP 484</a> defines support for <code># type: ignore</code> comments. This switch enables or disables support for these comments. This does not affect <code># pyright: ignore</code> comments.",
"default": true
},
"enableReachabilityAnalysis": {
"type": "boolean",
"title": "Identify code determined to be unreachable through type analysis",
"description": "If enabled, code that is determined to be unreachable by type analysis is reported using a tagged hint. This setting does not affect code that is determined to be unreachable regardless of type analysis; such code is always reported as unreachable. This setting also has no effect when when using the command-line version of pyright because it never emits tagged hints for unreachable code.",
"default": true
},
"deprecateTypingAliases": {
"type": "boolean",
"title": "Treat typing-specific aliases to standard types as deprecated",
Expand Down Expand Up @@ -809,6 +815,9 @@
"enableTypeIgnoreComments": {
"$ref": "#/definitions/enableTypeIgnoreComments"
},
"enableReachabilityAnalysis": {
"$ref": "#/definitions/enableReachabilityAnalysis"
},
"deprecateTypingAliases": {
"$ref": "#/definitions/deprecateTypingAliases"
},
Expand Down Expand Up @@ -1133,6 +1142,9 @@
"enableTypeIgnoreComments": {
"$ref": "#/definitions/enableTypeIgnoreComments"
},
"enableReachabilityAnalysis": {
"$ref": "#/definitions/enableReachabilityAnalysis"
},
"deprecateTypingAliases": {
"$ref": "#/definitions/deprecateTypingAliases"
},
Expand Down
42 changes: 38 additions & 4 deletions src/validate_pyproject_schema_store/resources/ruff.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@
]
},
"include": {
"description": "A list of file patterns to include when linting.\n\nInclusion are based on globs, and should be single-path patterns, like `*.pyw`, to include any file with the `.pyw` extension. `pyproject.toml` is included here not for configuration but because we lint whether e.g. the `[project]` matches the schema.\n\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).",
"description": "A list of file patterns to include when linting.\n\nInclusion are based on globs, and should be single-path patterns, like `*.pyw`, to include any file with the `.pyw` extension. `pyproject.toml` is included here not for configuration but because we lint whether e.g. the `[project]` matches the schema.\n\nIf [preview](https://docs.astral.sh/ruff/preview/) is enabled, the default includes notebook files (`.ipynb` extension). You can exclude them by adding `*.ipynb` to [`extend-exclude`](#extend-exclude).\n\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).",
"type": [
"array",
"null"
Expand Down Expand Up @@ -532,7 +532,7 @@
}
},
"output-format": {
"description": "The style in which violation messages should be formatted: `\"full\"` (shows source), `\"concise\"` (default), `\"grouped\"` (group messages by file), `\"json\"` (machine-readable), `\"junit\"` (machine-readable XML), `\"github\"` (GitHub Actions annotations), `\"gitlab\"` (GitLab CI code quality report), `\"pylint\"` (Pylint text format) or `\"azure\"` (Azure Pipeline logging commands).",
"description": "The style in which violation messages should be formatted: `\"full\"` (default) (shows source), `\"concise\"`, `\"grouped\"` (group messages by file), `\"json\"` (machine-readable), `\"junit\"` (machine-readable XML), `\"github\"` (GitHub Actions annotations), `\"gitlab\"` (GitLab CI code quality report), `\"pylint\"` (Pylint text format) or `\"azure\"` (Azure Pipeline logging commands).",
"anyOf": [
{
"$ref": "#/definitions/OutputFormat"
Expand Down Expand Up @@ -934,6 +934,16 @@
"Flake8BuiltinsOptions": {
"type": "object",
"properties": {
"builtins-allowed-modules": {
"description": "List of builtin module names to allow.",
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"builtins-ignorelist": {
"description": "Ignore list of builtins.",
"type": [
Expand Down Expand Up @@ -1034,7 +1044,7 @@
"type": "object",
"properties": {
"allow-multiline": {
"description": "Whether to allow implicit string concatenations for multiline strings. By default, implicit concatenations of multiline strings are allowed (but continuation lines, delimited with a backslash, are prohibited).\n\nNote that setting `allow-multiline = false` should typically be coupled with disabling `explicit-string-concatenation` (`ISC003`). Otherwise, both explicit and implicit multiline string concatenations will be seen as violations.",
"description": "Whether to allow implicit string concatenations for multiline strings. By default, implicit concatenations of multiline strings are allowed (but continuation lines, delimited with a backslash, are prohibited).\n\nSetting `allow-multiline = false` will automatically disable the `explicit-string-concatenation` (`ISC003`) rule. Otherwise, both implicit and explicit multiline string concatenations would be seen as violations, making it impossible to write a linter-compliant multiline string.",
"type": [
"boolean",
"null"
Expand Down Expand Up @@ -1677,7 +1687,7 @@
"null"
],
"items": {
"type": "string"
"$ref": "#/definitions/NameImports"
}
},
"section-order": {
Expand Down Expand Up @@ -2294,6 +2304,9 @@
},
"additionalProperties": false
},
"NameImports": {
"type": "string"
},
"OutputFormat": {
"oneOf": [
{
Expand Down Expand Up @@ -2667,6 +2680,9 @@
"A001",
"A002",
"A003",
"A004",
"A005",
"A006",
"AIR",
"AIR0",
"AIR00",
Expand Down Expand Up @@ -2875,6 +2891,19 @@
"DJ01",
"DJ012",
"DJ013",
"DOC",
"DOC2",
"DOC20",
"DOC201",
"DOC202",
"DOC4",
"DOC40",
"DOC402",
"DOC403",
"DOC5",
"DOC50",
"DOC501",
"DOC502",
"DTZ",
"DTZ0",
"DTZ00",
Expand Down Expand Up @@ -3062,6 +3091,11 @@
"FA10",
"FA100",
"FA102",
"FAST",
"FAST0",
"FAST00",
"FAST001",
"FAST002",
"FBT",
"FBT0",
"FBT00",
Expand Down
123 changes: 113 additions & 10 deletions src/validate_pyproject_schema_store/resources/scikit-build.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"minProperties": 1,
"additionalProperties": false,
"properties": {
"scikit-build-version": {
"type": "string",
"description": "The version of scikit-build-version. Takes a specifier set."
},
"python-version": {
"type": "string",
"description": "The two-digit Python version. Takes a specifier set."
Expand Down Expand Up @@ -46,6 +50,26 @@
"type": "string",
"description": "The state of the build, one of `sdist`, `wheel`, `editable`, `metadata_wheel`, and `metadata_editable`. Takes a regex."
},
"from-sdist": {
"type": "boolean",
"description": "Whether the build is from an sdist."
},
"failed": {
"type": "boolean",
"description": "Matches if the build fails. A build will be retried if there is at least one matching override with this set to true."
},
"system-cmake": {
"type": "string",
"description": "The version of CMake found on the system. Takes a specifier set."
},
"cmake-wheel": {
"type": "boolean",
"description": "Whether a cmake wheel is known to be provided for this system."
},
"abi-flags": {
"type": "string",
"description": "A sorted string of the abi flags. Takes a regex."
},
"env": {
"type": "object",
"patternProperties": {
Expand Down Expand Up @@ -90,8 +114,7 @@
},
"version": {
"type": "string",
"default": ">=3.15",
"description": "The versions of CMake to allow. If CMake is not present on the system or does not pass this specifier, it will be downloaded via PyPI if possible. An empty string will disable this check."
"description": "The versions of CMake to allow. If CMake is not present on the system or does not pass this specifier, it will be downloaded via PyPI if possible. An empty string will disable this check. The default on 0.10+ is \"CMakeLists.txt\", which will read it from the project's CMakeLists.txt file, or \">=3.15\" if unreadable or <0.10."
},
"args": {
"type": "array",
Expand Down Expand Up @@ -145,8 +168,8 @@
},
"verbose": {
"type": "boolean",
"default": false,
"description": "Verbose printout when building."
"description": "DEPRECATED in 0.10, use build.verbose instead.",
"deprecated": true
},
"build-type": {
"type": "string",
Expand All @@ -163,7 +186,8 @@
"items": {
"type": "string"
},
"description": "The build targets to use when building the project. Empty builds the default target."
"description": "DEPRECATED in 0.10; use build.targets instead.",
"deprecated": true
}
}
},
Expand Down Expand Up @@ -241,11 +265,23 @@
"additionalProperties": false,
"properties": {
"packages": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of packages to auto-copy into the wheel. If this is not set, it will default to the first of ``src/<package>``, ``python/<package>``, or ``<package>`` if they exist. The prefix(s) will be stripped from the package name inside the wheel."
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "object",
"patternProperties": {
".+": {
"type": "string"
}
}
}
],
"description": "A list of packages to auto-copy into the wheel. If this is not set, it will default to the first of ``src/<package>``, ``python/<package>``, or ``<package>`` if they exist. The prefix(s) will be stripped from the package name inside the wheel. If a dict, provides a mapping of package name to source directory."
},
"py-api": {
"type": "string",
Expand Down Expand Up @@ -327,6 +363,31 @@
}
}
},
"build": {
"type": "object",
"additionalProperties": false,
"properties": {
"tool-args": {
"type": "array",
"items": {
"type": "string"
},
"description": "Extra args to pass directly to the builder in the build step."
},
"targets": {
"type": "array",
"items": {
"type": "string"
},
"description": "The build targets to use when building the project. Empty builds the default target."
},
"verbose": {
"type": "boolean",
"default": false,
"description": "Verbose printout when building."
}
}
},
"install": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -409,6 +470,22 @@
]
}
},
"messages": {
"type": "object",
"additionalProperties": false,
"properties": {
"after-failure": {
"type": "string",
"default": "",
"description": "A message to print after a build failure."
},
"after-success": {
"type": "string",
"default": "",
"description": "A message to print after a successful build."
}
}
},
"metadata": {
"type": "object",
"description": "List dynamic metadata fields and hook locations in this table.",
Expand Down Expand Up @@ -480,6 +557,11 @@
"default": "",
"description": "The build directory. Defaults to a temporary directory, but can be set."
},
"fail": {
"type": "boolean",
"default": false,
"description": "Immediately fail the build. This is only useful in overrides."
},
"overrides": {
"type": "array",
"description": "A list of overrides to apply to the settings, based on the `if` selector.",
Expand Down Expand Up @@ -555,6 +637,18 @@
}
}
},
"build": {
"type": "object",
"additionalProperties": false,
"properties": {
"tool-args": {
"$ref": "#/$defs/inherit"
},
"targets": {
"$ref": "#/$defs/inherit"
}
}
},
"install": {
"type": "object",
"additionalProperties": false,
Expand Down Expand Up @@ -588,12 +682,18 @@
"editable": {
"$ref": "#/properties/editable"
},
"build": {
"$ref": "#/properties/build"
},
"install": {
"$ref": "#/properties/install"
},
"generate": {
"$ref": "#/properties/generate"
},
"messages": {
"$ref": "#/properties/messages"
},
"metadata": {
"$ref": "#/properties/metadata"
},
Expand All @@ -608,6 +708,9 @@
},
"build-dir": {
"$ref": "#/properties/build-dir"
},
"fail": {
"$ref": "#/properties/fail"
}
}
}
Expand Down

0 comments on commit 4ece506

Please sign in to comment.