Skip to content

Commit

Permalink
Update settings schema for 0.0.51
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Feb 2, 2024
1 parent 0fdb045 commit c7704c7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LSP-ruff.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"lint.args": [],
// Run Ruff on every keystroke (onType) or on save (onSave).
"lint.run": "onType",
// Whether to enable linting. Set to false to use Ruff exclusively as a formatter.
"lint.enable": true,
// Additional command-line arguments to pass to `ruff format`.
"format.args": [],
// Sets the tracing level for the extension.
Expand All @@ -27,6 +29,8 @@
"codeAction.fixViolation.enable": true,
// Whether to display Quick Fix actions to disable rules via noqa suppression comments.
"codeAction.disableRuleComment.enable": true,
// Whether to ignore files that are inferred to be part of the Python standard library.
"ignoreStandardLibrary": true,
},
},
"command": [
Expand Down
10 changes: 10 additions & 0 deletions sublime-package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"default": [],
"markdownDescription": "Custom arguments passed to ruff. See [ruff documentation](https://github.com/charliermarsh/ruff/blob/main/README.md#configuration)."
},
"lint.enable": {
"type": "boolean",
"default": true,
"markdownDescription": "Whether to enable linting. Set to false to use Ruff exclusively as a formatter."
},
"lint.run": {
"type": "string",
"default": "onType",
Expand Down Expand Up @@ -76,6 +81,11 @@
"type": "boolean",
"default": true,
"description": "Whether to display Quick Fix actions to disable rules via noqa suppression comments."
},
"ignoreStandardLibrary": {
"type": "boolean",
"default": true,
"description": "Whether to ignore files that are inferred to be part of the Python standard library."
}
},
},
Expand Down

0 comments on commit c7704c7

Please sign in to comment.