forked from NVIDIA/Model-Optimizer
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsettings.json
More file actions
47 lines (47 loc) · 1.34 KB
/
settings.json
File metadata and controls
47 lines (47 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// VSCode workspace settings for modelopt
{
"editor.rulers": [
100,
120
], // 100 for ruff auto-formatter, 120 for hard limit in ruff
"[python]": {
"editor.defaultFormatter": "charliermarsh.ruff",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
},
"files.exclude": {
"build": true,
},
"files.watcherExclude": {
".ipynb_checkpoints": true,
".mypy_cache": true,
".pytest_cache": true,
".ruff_cache": true,
"**/__pycache__/**": true,
"**/*.pyc": true,
"**/runs": true,
"build": true
},
"[yaml]": {
"editor.defaultFormatter": "redhat.vscode-yaml",
},
"yaml.format.enable": true,
"yaml.format.printWidth": 150,
"yaml.format.bracketSpacing": false,
"yaml.customTags": [
"!reference sequence"
],
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"./tests",
"--no-cov",
],
"evenBetterToml.schema.enabled": false, // disable toml/json schema since we have custom fields
"cursorpyright.analysis.extraPaths": [
"./tests/" // add tests to python path just like pytest does in pyproject.toml
],
"git.alwaysSignOff": true,
"git.enableCommitSigning": true,
}