Skip to content

Commit 9ad31d9

Browse files
feat: add cspell configuration and CI spell-check (#87)
* feat: add cspell configuration and CI spell-check - Add cspell.json with Deepnote-specific file patterns - Configure spell-check to only check Deepnote code (not forked Microsoft code) - Add minimal 35-word technical dictionary - Add spell-check CI job to GitHub Actions workflow - Update package.json scripts to use cspell config Result: 49 files checked (Deepnote-specific only), 0 spelling errors * fix: format cspell.json and exclude cspell dictionary from license check * refactor: simplify spell-check scripts - Remove spell-check:fix script (didn't actually fix, just showed suggestions) - Add explicit --config cspell.json to spell-check script for clarity --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 7271532 commit 9ad31d9

File tree

4 files changed

+2027
-21
lines changed

4 files changed

+2027
-21
lines changed

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,30 @@ jobs:
167167
- name: Check Licenses
168168
run: npm run check-licenses
169169

170+
spell-check:
171+
name: Spell Check
172+
runs-on: ubuntu-latest
173+
timeout-minutes: 15
174+
steps:
175+
- name: Checkout
176+
uses: actions/checkout@v5
177+
178+
- name: Setup Node.js
179+
uses: actions/setup-node@v5
180+
with:
181+
cache: 'npm'
182+
node-version: ${{ env.NODE_VERSION }}
183+
registry-url: 'https://npm.pkg.github.com'
184+
scope: '@deepnote'
185+
186+
- name: Install dependencies
187+
run: npm ci --prefer-offline --no-audit
188+
env:
189+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
190+
191+
- name: Run spell check
192+
run: npm run spell-check
193+
170194
audit-prod:
171195
name: Audit - Production
172196
runs-on: ubuntu-latest

cspell.json

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
{
2+
"version": "0.2",
3+
"files": [
4+
"src/notebooks/deepnote/**",
5+
"src/kernels/deepnote/**",
6+
"src/platform/errors/deepnoteServerNotFoundError.ts"
7+
],
8+
"ignorePaths": [
9+
"node_modules",
10+
"package-lock.json",
11+
"pnpm-lock.yaml",
12+
"dist",
13+
"out",
14+
"build",
15+
"coverage",
16+
".vscode",
17+
".git",
18+
"*.min.js",
19+
"*.min.css",
20+
"*.map"
21+
],
22+
"language": "en",
23+
"words": [
24+
"blockgroup",
25+
"channeldef",
26+
"dataframe",
27+
"deepnote",
28+
"deepnoteserver",
29+
"dntk",
30+
"dont",
31+
"DONT",
32+
"ename",
33+
"evalue",
34+
"findstr",
35+
"getsitepackages",
36+
"IMAGENAME",
37+
"ipykernel",
38+
"ipynb",
39+
"jupyter",
40+
"jupyterlab",
41+
"JVSC",
42+
"millis",
43+
"nbformat",
44+
"numpy",
45+
"pids",
46+
"Pids",
47+
"PYTHONHOME",
48+
"Reselecting",
49+
"taskkill",
50+
"unconfigured",
51+
"Unconfigured",
52+
"unittests",
53+
"vegalite",
54+
"venv",
55+
"venv's",
56+
"Venv",
57+
"venvs",
58+
"vscode"
59+
],
60+
"useGitignore": true
61+
}

0 commit comments

Comments
 (0)