Skip to content

Commit

Permalink
Format other files in repo (#14764)
Browse files Browse the repository at this point in the history
  • Loading branch information
DonJayamanne authored Nov 22, 2023
1 parent 54e1192 commit 52a880d
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 78 deletions.
22 changes: 11 additions & 11 deletions build/azure-pipeline.stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ extends:
VSC_VSCE_TARGET: $(vsceTarget)

tsa:
enabled: true
options:
codebaseName: 'devdiv_$(Build.Repository.Name)'
serviceTreeID: '14f24efd-b502-422a-9f40-09ea7ce9cf14'
instanceUrl: 'https://devdiv.visualstudio.com/defaultcollection'
projectName: 'DevDiv'
areaPath: "DevDiv\\VS Code (compliance tracking only)\\Visual Studio Code Jupyter Extensions"
notificationAliases:
- '[email protected]'
- '[email protected]'
- '[email protected]'
enabled: true
options:
codebaseName: 'devdiv_$(Build.Repository.Name)'
serviceTreeID: '14f24efd-b502-422a-9f40-09ea7ce9cf14'
instanceUrl: 'https://devdiv.visualstudio.com/defaultcollection'
projectName: 'DevDiv'
areaPath: "DevDiv\\VS Code (compliance tracking only)\\Visual Studio Code Jupyter Extensions"
notificationAliases:
- '[email protected]'
- '[email protected]'
- '[email protected]'
2 changes: 1 addition & 1 deletion build/eslint-rules/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"name": "eslint-plugin-local-rules",
"version": "1.0.0",
"main": "index.js"
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2188,8 +2188,8 @@
"testSmokeLogged": "cross-env VSC_JUPYTER_FORCE_LOGGING=true node --no-force-async-hooks-checks ./out/test/testBootstrap.node.js ./out/test/smokeTest.node.js",
"lint": "eslint --ext .ts,.js src",
"lint-fix": "eslint --fix --ext .ts,.js src build pythonExtensionApi gulpfile.js",
"format": "prettier --write 'src/**/*.ts*' 'build/**/*.js' '.github/**/*.yml' gulpfile.js",
"format-check": "prettier --check 'src/**/*.ts*' 'build/**/*.js' '.github/**/*.yml' gulpfile.js",
"format": "prettier --write *.js *.json 'src/**/*.ts*' 'build/**/*.js' '.github/**/*.yml' 'build/**/*.yml' 'build/**/*.ts' 'build/**/*.json' gulpfile.js",
"format-check": "prettier --check *.js *.json 'src/**/*.ts*' 'build/**/*.js' '.github/**/*.yml' 'build/**/*.yml' 'build/**/*.ts' 'build/**/*.json' gulpfile.js",
"clean": "gulp clean",
"updateBuildNumber": "gulp updateBuildNumber",
"webpack": "webpack",
Expand Down
75 changes: 17 additions & 58 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
"contributes.walkthroughs.jupyterWelcome.steps.jupyter.selectKernel.title": "Select a Jupyter kernel",
"contributes.walkthroughs.jupyterWelcome.steps.jupyter.selectKernel.description": {
"message": "Click Select Kernel at the top right of the notebook and choose the environment in which to run your kernel. Or, with a notebook opened and in focus, open the [Command Palette](command:workbench.action.showCommands) and run the command: \n``Notebook: Select Notebook Kernel``. \n[Open Command Palette to Select a Jupyter Kernel](command:workbench.action.showCommands)",
"comment": [
"{Locked='command:workbench.action.showCommands'}"
]
"comment": ["{Locked='command:workbench.action.showCommands'}"]
},
"contributes.walkthroughs.jupyterWelcome.steps.jupyter.selectKernel.media.altText": "Selecting or changing a notebook kernel",
"contributes.walkthroughs.jupyterWelcome.steps.jupyter.exploreAndDebug.title": "Explore data and debug",
Expand Down Expand Up @@ -52,15 +50,11 @@
"jupyter.command.jupyter.runallcells.title": "Run All Cells",
"jupyter.command.jupyter.notebookeditor.expandallcells.title": {
"message": "Expand All Notebook Cells",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.notebookeditor.collapseallcells.title": {
"message": "Collapse All Notebook Cells",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.runallcellsabove.title": "Run Above",
"jupyter.command.jupyter.runcellandallbelow.title": "Run Below",
Expand Down Expand Up @@ -94,40 +88,28 @@
"jupyter.command.jupyter.createnewinteractive.title": "Create Interactive Window",
"jupyter.command.jupyter.importnotebook.title": {
"message": "Import Jupyter Notebook",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.importnotebookfile.title": "Import Notebook to Script",
"jupyter.command.jupyter.exportoutputasnotebook.title": {
"message": "Export Interactive Window as Jupyter Notebook",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.exportfileasnotebook.title": {
"message": "Export Current Python File as Jupyter Notebook",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.exportfileandoutputasnotebook.title": {
"message": "Export Current Python File and Output as Jupyter Notebook",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.notebookeditor.removeallcells.title": {
"message": "Delete All Notebook Editor Cells",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.notebookeditor.addcellbelow.title": {
"message": "Add Empty Cell to Notebook File",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"jupyter.command.jupyter.interruptkernel.title": "Interrupt Kernel",
"jupyter.command.jupyter.interruptkernel.shorttitle": "Interrupt",
Expand Down Expand Up @@ -212,54 +194,36 @@
"jupyter.configuration.jupyter.disableJupyterAutoStart.description": "When true, disables Jupyter from being automatically started for you. You must instead run a cell to start Jupyter.",
"jupyter.configuration.jupyter.addGotoCodeLenses.description": {
"message": "After running a cell, add a 'Goto' code lens on the cell. Note, disabling all code lenses disables this code lens as well.",
"comment": [
"{Locked='Goto'}"
]
"comment": ["{Locked='Goto'}"]
},
"jupyter.configuration.jupyter.addGotoCodeLenses.deprecationMessage": "This setting has been deprecated in favor of jupyter.interactiveWindow.codeLens.enableGotoCell.",
"jupyter.configuration.jupyter.variableQueries.markdownDescription": {
"message": "Language to query mapping for returning the list of active variables in a Jupyter kernel. Used by the Variable Explorer in both the Interactive Window and Notebooks. Example:\n```\n[\n {\n \"language\": \"python\",\n \"query\": \"%who_ls\",\n \"parseExpr\": \"'(\\\\w+)'\"\n }\n]\n```",
"comment": [
"{Locked='language\": \"python\",\n \"query\": \"%who_ls\",\n \"parseExpr'}"
]
"comment": ["{Locked='language\": \"python\",\n \"query\": \"%who_ls\",\n \"parseExpr'}"]
},
"jupyter.configuration.jupyter.variableQueries.deprecationMessage": "This setting is deprecated and will be removed in the next release.",
"jupyter.configuration.jupyter.kernels.filter.markdownDescription": "List of Python environments to be excluded from the Kernel picker.",
"jupyter.configuration.jupyter.interactiveWindowMode.description": {
"message": "Behavior of the Interactive Window. 'perFile' will create a new interactive window for every file that runs a cell. 'single' allows a single window. 'multiple' allows the creation of multiple.",
"comment": [
"{Locked='perFile'}",
"{Locked=\"'single'\"}",
"{Locked=\"'multiple'\"}"
]
"comment": ["{Locked='perFile'}", "{Locked=\"'single'\"}", "{Locked=\"'multiple'\"}"]
},
"jupyter.configuration.jupyter.interactiveWindowMode.deprecationMessage": "This setting has been deprecated in favor of jupyter.interactiveWindow.creationMode.",
"jupyter.configuration.jupyter.pythonCellFolding.description": "Enable folding regions for code cells in Python files. This setting requires a reload of VS Code.",
"jupyter.configuration.jupyter.pythonCellFolding.deprecationMessage": "This setting has been deprecated in favor of jupyter.interactiveWindow.textEditor.cellFolding.",
"jupyter.configuration.jupyter.interactiveWindowViewColumn.description": {
"message": "Where to open an Interactive Window that is not associated with a python file. 'beside' will open the interactive window to the right of the active editor. 'active' will open the interactive window in place of the active editor. 'secondGroup' will open the interactive window in the second editor group.",
"comment": [
"{Locked='beside'}",
"{Locked=\"'active'\"}",
"{Locked=\"'secondGroup'\"}"
]
"comment": ["{Locked='beside'}", "{Locked=\"'active'\"}", "{Locked=\"'secondGroup'\"}"]
},
"jupyter.configuration.jupyter.interactiveWindowViewColumn.deprecationMessage": "This setting has been deprecated in favor of jupyter.interactiveWindow.viewColumn.",
"jupyter.configuration.jupyter.magicCommandsAsComments.description": "Uncomment shell assignments (#!), line magic (#!%) and cell magic (#!%%) when parsing code cells.",
"jupyter.configuration.jupyter.magicCommandsAsComments.deprecationMessage": "This setting has been deprecated in favor of jupyter.interactiveWindow.textEditor.magicCommandsAsComments.",
"jupyter.configuration.jupyter.pythonExportMethod.description": {
"message": "The method to use when exporting a notebook to a Python file. 'direct' will copy over the code directly as is. 'commentMagics' will comment out lines starting with line magics (%), cell magics (%%), and shell commands(!). 'nbconvert' will install nbconvert and use that for the conversion which can translate iPython syntax into Python syntax.",
"comment": [
"{Locked=\"'direct'\"}",
"{Locked=\"'commentMagics'\"}",
"{Locked=\"'nbconvert'\"}"
]
"comment": ["{Locked=\"'direct'\"}", "{Locked=\"'commentMagics'\"}", "{Locked=\"'nbconvert'\"}"]
},
"jupyter.configuration.jupyter.runStartupCommands.description": {
"message": "A series of Python instructions or iPython magic commands. Can be either an array of strings or a single string with commands separated by '\\n'. Commands will be silently executed whenever the interactive window loads. For instance, set this to '%load_ext autoreload\\n%autoreload 2' to automatically reload changes made to imported files without having to restart the interactive session.",
"comment": [
"{Locked='%load_ext autoreload\\n%autoreload 2'}"
]
"comment": ["{Locked='%load_ext autoreload\\n%autoreload 2'}"]
},
"jupyter.configuration.jupyter.debugJustMyCode.description": "When debugging, only step through user-written code. Disable this to allow stepping into library code.",
"jupyter.configuration.jupyter.showOutlineButtonInNotebookToolbar.description": "Show the Outline button in the Jupyter notebook toolbar.",
Expand All @@ -270,17 +234,12 @@
"jupyter.configuration.jupyter.logKernelOutputSeparately.description": "Creates separate output panels for kernels/jupyter server console output",
"jupyter.configuration.jupyter.excludeUserSitePackages.description": {
"message": "Add PYTHONNOUSERSITE to kernels before starting. This prevents global/user site-packages from being used in the PYTHONPATH of the kernel.",
"comment": [
"{Locked='PYTHONNOUSERSITE'}",
"{Locked='PYTHONPATH'}"
]
"comment": ["{Locked='PYTHONNOUSERSITE'}", "{Locked='PYTHONPATH'}"]
},
"jupyter.configuration.jupyter.enableExtendedKernelCompletions.markdownDescription": "Enables Jedi support for extended IntelliSense completions in running Jupyter kernels (see this [setting](https://ipython.readthedocs.io/en/stable/config/options/terminal.html?highlight=use_jedi#configtrait-Completer.use_jedi)). This can greatly impact notebook cell execution performance. Use with caution.",
"DataScience.exportDialogTitle": {
"message": "Export to Jupyter Notebook",
"comment": [
"{Locked='Notebook'}"
]
"comment": ["{Locked='Notebook'}"]
},
"DataScience.notebookExport": "Export",
"DataScience.exportAsNotebook.shorttitle": "Save",
Expand Down
8 changes: 2 additions & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,8 @@
"paths": {
"*": ["types/*"]
},
"typeRoots": [
"./node_modules/@types",
],
"types": [
"webpack-env"
],
"typeRoots": ["./node_modules/@types"],
"types": ["webpack-env"]
},
"include": [
"./src/**/*",
Expand Down

0 comments on commit 52a880d

Please sign in to comment.