Skip to content

Commit b79d0ef

Browse files
committed
Merge remote-tracking branch 'origin/main' into tk/delete-venv-directory
Signed-off-by: Tomas Kislan <[email protected]>
2 parents aa8334c + 9ee12ab commit b79d0ef

File tree

376 files changed

+22947
-8625
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

376 files changed

+22947
-8625
lines changed

.eslintrc.js renamed to .eslintrc.cjs

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ module.exports = {
4747
'@typescript-eslint/no-explicit-any': 'error',
4848
'@typescript-eslint/no-non-null-assertion': 'off',
4949
'no-unused-vars': 'off',
50-
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '_\\w*' }],
50+
'@typescript-eslint/no-unused-vars': ['warn', { argsIgnorePattern: '_\\w*', varsIgnorePattern: '_\\w*' }],
5151
'no-use-before-define': 'off',
5252
'@typescript-eslint/no-use-before-define': [
5353
'error',
@@ -74,7 +74,14 @@ module.exports = {
7474
'import/no-unresolved': [
7575
'error',
7676
{
77-
ignore: ['monaco-editor', 'vscode', 'react-error-boundary']
77+
ignore: [
78+
'monaco-editor',
79+
'vscode',
80+
'react-error-boundary',
81+
'vega-lite',
82+
'vega-embed',
83+
'why-is-node-running'
84+
]
7885
}
7986
],
8087
'import/prefer-default-export': 'off',
@@ -225,18 +232,32 @@ module.exports = {
225232
'import/no-restricted-paths': ['off']
226233
}
227234
},
235+
{
236+
files: ['src/kernels/**/*.ts'],
237+
rules: {
238+
'@typescript-eslint/no-restricted-imports': 'off'
239+
}
240+
},
241+
{
242+
files: ['src/notebooks/**/*.ts', 'src/webviews/**/*.ts'],
243+
rules: {
244+
'@typescript-eslint/no-restricted-imports': 'off'
245+
}
246+
},
228247
{
229248
files: ['**/*.test.ts'],
230249
rules: {
231250
'@typescript-eslint/no-explicit-any': 'off',
232-
'@typescript-eslint/no-restricted-imports': 'off'
251+
'@typescript-eslint/no-restricted-imports': 'off',
252+
'@typescript-eslint/no-empty-function': 'off'
233253
}
234254
},
235255
{
236256
files: ['src/test/**/*.ts'],
237257
rules: {
238258
'@typescript-eslint/no-explicit-any': 'off',
239-
'@typescript-eslint/no-restricted-imports': 'off'
259+
'@typescript-eslint/no-restricted-imports': 'off',
260+
'@typescript-eslint/no-empty-function': 'off'
240261
}
241262
},
242263
{

.github/ISSUE_TEMPLATE/1_bug_report.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,10 @@ labels: bug
88

99
## Environment data
1010

11-
- VS Code version: XXX
12-
- Jupyter Extension version (available under the Extensions sidebar): XXX
13-
- Python Extension version (available under the Extensions sidebar): XXX
14-
- OS (Windows | Mac | Linux distro) and version: XXX
15-
- Python and/or Anaconda version: XXX
16-
- Type of virtual environment used (N/A | venv | virtualenv | conda | ...): XXX
17-
- Jupyter server running: Local | Remote | N/A
11+
- VS Code version: XXX
12+
- Deepnote Extension version (available under the Extensions sidebar): XXX
13+
- OS (Windows | Mac | Linux distro) and version: XXX
14+
- Python and/or Anaconda version: XXX
1815

1916
## Expected behaviour
2017

@@ -38,7 +35,7 @@ Note: If you think a GIF of what is happening would be helpful, consider tools l
3835

3936
<details>
4037

41-
<summary>Output for <code>Jupyter</code> in the <code>Output</code> panel (<code>View</code>→<code>Output</code>, change the drop-down the upper-right of the <code>Output</code> panel to <code>Jupyter</code>)
38+
<summary>Output for <code>Deepnote</code> in the <code>Output</code> panel (<code>View</code>→<code>Output</code>, change the drop-down the upper-right of the <code>Output</code> panel to <code>Deepnote</code>)
4239
</summary>
4340

4441
<p>

.github/ISSUE_TEMPLATE/2_bug_form.yml

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ body:
1919
attributes:
2020
label: Applies To
2121
options:
22-
- label: Notebooks (.ipynb files)
22+
- label: Notebooks (.deepnote files)
2323
- label: Interactive Window and\/or Cell Scripts (.py files with \#%% markers)
2424
- type: textarea
2525
id: what-happened
@@ -36,17 +36,17 @@ body:
3636
validations:
3737
required: true
3838
- type: input
39-
id: jupyter-version
39+
id: deepnote-version
4040
attributes:
41-
label: Jupyter Extension Version
41+
label: Deepnote Extension Version
4242
description: The version can be found at the top of the extension's description in the extensions sidebar.
4343
validations:
4444
required: true
4545
- type: textarea
4646
id: logs
4747
attributes:
48-
label: Jupyter logs
49-
description: Copy and paste all of the text in the Jupyter Output panel available via the ```Jupyter Show Output``` command. This is often critical to help us understand and fix what may have gone wrong!
48+
label: Deepnote logs
49+
description: Copy and paste all of the text in the Deepnote Output panel available via the ```Deepnote Show Output``` command. This is often critical to help us understand and fix what may have gone wrong!
5050
render: shell
5151
- type: markdown
5252
attributes:
@@ -57,22 +57,3 @@ body:
5757
attributes:
5858
label: Coding Language and Runtime Version
5959
placeholder: Python v3.8.2, vJulia 1.6, R, etc.
60-
- type: input
61-
id: lang-extension-version
62-
attributes:
63-
label: Language Extension Version (if applicable)
64-
description: Ex. Python Extension. The extension version can be found at the top of the extension's description in the extensions sidebar.
65-
- type: input
66-
id: anaconda-version
67-
attributes:
68-
label: Anaconda Version (if applicable)
69-
description: If applicable, what version of the Anaconda are you using?
70-
- type: dropdown
71-
id: local-remote
72-
attributes:
73-
label: Running Jupyter locally or remotely?
74-
multiple:
75-
options:
76-
- Local
77-
- Remote
78-
- N/A or Not sure

.github/actions/create-venv-for-tests/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
using: 'composite'
1717
steps:
1818
- name: Install uv
19-
uses: astral-sh/setup-uv@2ddd2b9cb38ad8efd50337e8ab201519a34c9f24 # v7
19+
uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7
2020

2121
# Used by tests for installation of ipykernel.
2222
# Create a venv & register it as a kernel.

.github/copilot-instructions.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ Read `.github/typescript-instructions.md` for detailed TypeScript development st
4040
- Preserve error details, scrub PII
4141

4242
### Code Quality
43-
- Include Microsoft copyright header
4443
- Prefer async/await, handle cancellation with CancellationToken
4544
- Use lint/format tools
4645

0 commit comments

Comments
 (0)