@cspell/dict-python 2.0.4 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cspell-ext.json CHANGED
@@ -23,7 +23,6 @@
23
23
  // Matching Language
24
24
  "languageId": "python",
25
25
  // Apply settings
26
- "allowCompoundWords": true,
27
26
  "dictionaries": ["python"],
28
27
  "ignoreRegExpList": ["ignore_string_literal_prefix"],
29
28
  "patterns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/dict-python",
3
- "version": "2.0.4",
3
+ "version": "3.0.1",
4
4
  "description": "Python dictionary for cspell.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,11 +11,12 @@
11
11
  "./cspell-ext.json": "./cspell-ext.json"
12
12
  },
13
13
  "scripts": {
14
- "build": "cspell-tools compile \"python.txt\" -o .",
15
- "test-dictionary": "head -n 1000 \"python.txt\" | cspell -v -c ./cspell-ext.json --local=* --languageId=python stdin",
14
+ "build": "cspell-tools-cli compile \"src/*.txt\" --split --keep-raw-case --merge python -o .",
15
+ "test-dictionary": "cspell -v -c ./cspell-ext.json --local=en --languageId=python \"src/py*.txt\"",
16
16
  "test-samples": "cspell -v -c ./cspell-ext.json \"samples/**/*.py\"",
17
17
  "test": "yarn run test-dictionary && yarn run test-samples",
18
- "prepublishOnly": "yarn test",
18
+ "update-python-lib": "./scripts/fetch-python.sh",
19
+ "prepublishOnly": "echo pre-publish",
19
20
  "prepare": "yarn run build"
20
21
  },
21
22
  "repository": {
@@ -40,5 +41,5 @@
40
41
  "python.txt.gz",
41
42
  "cspell-ext.json"
42
43
  ],
43
- "gitHead": "b1fe09d226f849c6c1b3ae70fa2da0a3adb3f920"
44
+ "gitHead": "7fecc4b4faae0a974cf6eeb699029771366606ad"
44
45
  }
package/python.txt.gz CHANGED
Binary file