@cspell/dict-python 2.0.6 → 3.0.3
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 +7 -3
- package/package.json +8 -4
- package/python-common.txt.gz +0 -0
- package/python.txt.gz +0 -0
package/cspell-ext.json
CHANGED
|
@@ -10,7 +10,12 @@
|
|
|
10
10
|
{
|
|
11
11
|
"name": "python",
|
|
12
12
|
"path": "./python.txt.gz",
|
|
13
|
-
"description": "Python
|
|
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,8 +28,7 @@
|
|
|
23
28
|
// Matching Language
|
|
24
29
|
"languageId": "python",
|
|
25
30
|
// Apply settings
|
|
26
|
-
"
|
|
27
|
-
"dictionaries": ["python"],
|
|
31
|
+
"dictionaries": ["python", "python-common"],
|
|
28
32
|
"ignoreRegExpList": ["ignore_string_literal_prefix"],
|
|
29
33
|
"patterns": [
|
|
30
34
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/dict-python",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.3",
|
|
4
4
|
"description": "Python dictionary for cspell.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -11,10 +11,13 @@
|
|
|
11
11
|
"./cspell-ext.json": "./cspell-ext.json"
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
|
-
"build": "
|
|
15
|
-
"
|
|
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",
|
|
20
|
+
"update-python-lib": "./scripts/fetch-python.sh",
|
|
18
21
|
"prepublishOnly": "echo pre-publish",
|
|
19
22
|
"prepare": "yarn run build"
|
|
20
23
|
},
|
|
@@ -38,7 +41,8 @@
|
|
|
38
41
|
"homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/python#readme",
|
|
39
42
|
"files": [
|
|
40
43
|
"python.txt.gz",
|
|
44
|
+
"python-common.txt.gz",
|
|
41
45
|
"cspell-ext.json"
|
|
42
46
|
],
|
|
43
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "663c72e48af05eaeb3c2e225beb5092d38965c75"
|
|
44
48
|
}
|
|
Binary file
|
package/python.txt.gz
CHANGED
|
Binary file
|