Skip to content

Commit

Permalink
fix: mypy missing fields
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Schreiner <[email protected]>
  • Loading branch information
henryiii committed Feb 5, 2025
1 parent 9b03146 commit 61dc2b6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/schemas/json/partial-mypy.json
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,13 @@
"default": false,
"type": "boolean"
},
"extra_checks": {
"description": "This flag enables additional checks that are technically correct but may be impractical. See `mypy --extra-checks` for more info.",
"markdownDescription": "This flag enables additional checks that are technically correct but may be impractical. See `mypy --extra-checks` for more info.",
"x-intellij-html-description": "This flag enables additional checks that are technically correct but may be impractical. See <code>>mypy --extra-checks</code> for more info.",
"default": false,
"type": "boolean"
},
"implicit_optional": {
"description": "Causes mypy to treat arguments with a `None` default value as having an implicit `typing.Optional` type.",
"markdownDescription": "Causes mypy to treat arguments with a `None` default value as having an implicit [`Optional`](https://docs.python.org/3/library/typing.html#typing.Optional) type.",
Expand All @@ -276,6 +283,13 @@
"default": false,
"type": "boolean"
},
"strict_bytes": {
"description": "Disable treating `bytearray` and `memoryview` as subtypes of `bytes`. This will be enabled by default in mypy 2.0.",
"markdownDescription": "Disable treating `bytearray` and `memoryview` as subtypes of `bytes`. This will be enabled by default in *mypy 2.0*.",
"x-intellij-html-description": "Disable treating <code>bytearray</code> and <code>memoryview</code> as subtypes of `bytes`. This will be enabled by default in mypy 2.0.",
"default": false,
"type": "boolean"
},
"strict_optional": {
"description": "Enables or disables strict `Optional` checks. If `False`, mypy treats `None` as compatible with every type.",
"x-intellij-html-description": "Enables or disables strict <code>Optional</code> checks. If <code>False</code>, mypy treats <code>None</code> as compatible with every type.",
Expand Down Expand Up @@ -728,6 +742,9 @@
"enable_error_code": {
"$ref": "#/properties/enable_error_code"
},
"extra_checks": {
"$ref": "#/properties/extra_checks"
},
"implicit_reexport": {
"$ref": "#/properties/implicit_reexport"
},
Expand All @@ -737,6 +754,9 @@
"strict_equality": {
"$ref": "#/properties/strict_equality"
},
"strict_bytes": {
"$ref": "#/properties/strict_bytes"
},
"strict": {
"$ref": "#/properties/strict"
},
Expand All @@ -746,6 +766,9 @@
"show_column_numbers": {
"$ref": "#/properties/show_column_numbers"
},
"show_error_code_links": {
"$ref": "#/properties/show_error_code_links"
},
"hide_error_codes": {
"$ref": "#/properties/hide_error_codes"
},
Expand Down

0 comments on commit 61dc2b6

Please sign in to comment.