@cspell/dict-python 3.0.1 → 3.0.4

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
@@ -10,7 +10,12 @@
10
10
  {
11
11
  "name": "python",
12
12
  "path": "./python.txt.gz",
13
- "description": "Python Keyword Dictionary"
13
+ "description": "Python Dictionary"
14
+ },
15
+ {
16
+ "name": "python-common",
17
+ "path": "./python-common.txt.gz",
18
+ "description": "Python Common Terms Dictionary"
14
19
  }
15
20
  ],
16
21
  // Dictionaries to always be used.
@@ -23,7 +28,7 @@
23
28
  // Matching Language
24
29
  "languageId": "python",
25
30
  // Apply settings
26
- "dictionaries": ["python"],
31
+ "dictionaries": ["python", "python-common"],
27
32
  "ignoreRegExpList": ["ignore_string_literal_prefix"],
28
33
  "patterns": [
29
34
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/dict-python",
3
- "version": "3.0.1",
3
+ "version": "3.0.4",
4
4
  "description": "Python dictionary for cspell.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,8 +11,10 @@
11
11
  "./cspell-ext.json": "./cspell-ext.json"
12
12
  },
13
13
  "scripts": {
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\"",
14
+ "build": "yarn run build-python && yarn run build-common",
15
+ "build-python": "cspell-tools-cli compile \"src/python/*.txt\" --split --keep-raw-case --merge python -o .",
16
+ "build-common": "cspell-tools-cli compile \"src/common/*.txt\" --keep-raw-case --merge python-common -o .",
17
+ "test-dictionary": "cspell -v -c ./cspell-ext.json --local=en --languageId=python \"src/python/py*.txt\"",
16
18
  "test-samples": "cspell -v -c ./cspell-ext.json \"samples/**/*.py\"",
17
19
  "test": "yarn run test-dictionary && yarn run test-samples",
18
20
  "update-python-lib": "./scripts/fetch-python.sh",
@@ -39,7 +41,8 @@
39
41
  "homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/python#readme",
40
42
  "files": [
41
43
  "python.txt.gz",
44
+ "python-common.txt.gz",
42
45
  "cspell-ext.json"
43
46
  ],
44
- "gitHead": "7fecc4b4faae0a974cf6eeb699029771366606ad"
47
+ "gitHead": "c7c613edfa1eb22104511e05d22262e67c4718dd"
45
48
  }
Binary file
package/python.txt.gz CHANGED
Binary file