@cspell/dict-python 4.5.2 → 4.5.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/README.md +4 -4
- package/cspell-ext.json +3 -8
- package/dict/python.txt +5 -0
- package/package.json +4 -5
package/README.md
CHANGED
|
@@ -4,16 +4,16 @@ Python dictionary for cspell.
|
|
|
4
4
|
|
|
5
5
|
This is a pre-built dictionary for use with cspell.
|
|
6
6
|
|
|
7
|
-
<!--- @@inject: ../../static/requirements.md --->
|
|
7
|
+
<!--- @@inject: ../../static/requirements.md#values-file=:../../static/engines.json&values-file=:cspell-ext.json --->
|
|
8
8
|
|
|
9
9
|
## Requirements
|
|
10
10
|
|
|
11
11
|
| Tool | Version |
|
|
12
12
|
| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
|
|
13
|
-
| [cspell](https://github.com/streetsidesoftware/cspell) | `>=
|
|
14
|
-
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>=
|
|
13
|
+
| [cspell](https://github.com/streetsidesoftware/cspell) | `>=8` |
|
|
14
|
+
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>=4` |
|
|
15
15
|
|
|
16
|
-
<!--- @@inject-end: ../../static/requirements.md --->
|
|
16
|
+
<!--- @@inject-end: ../../static/requirements.md#values-file=:../../static/engines.json&values-file=:cspell-ext.json --->
|
|
17
17
|
|
|
18
18
|
<!--- @@inject: ./static/install.md --->
|
|
19
19
|
|
package/cspell-ext.json
CHANGED
|
@@ -25,7 +25,6 @@
|
|
|
25
25
|
"ignoreRegExpList": ["ignore_string_literal_prefix"],
|
|
26
26
|
"patterns": [
|
|
27
27
|
{
|
|
28
|
-
// Pattern to be ignored
|
|
29
28
|
"name": "ignore_string_literal_prefix",
|
|
30
29
|
"pattern": "/\\b(?:rf|fr|f|r|u|ur|b|br)'/gi"
|
|
31
30
|
},
|
|
@@ -37,7 +36,6 @@
|
|
|
37
36
|
"name": "string_raw",
|
|
38
37
|
"pattern": "/\\bu?r(['\"]).*?\\1/gi"
|
|
39
38
|
},
|
|
40
|
-
// Redefine the "strings" and "comments" pattern to match Python
|
|
41
39
|
{
|
|
42
40
|
"name": "string-multi-line",
|
|
43
41
|
"pattern": "/(\"\"\"|''')[^\\1]*?\\1/g"
|
|
@@ -50,8 +48,8 @@
|
|
|
50
48
|
"name": "strings",
|
|
51
49
|
"description": "Matches all strings in a Python File.",
|
|
52
50
|
"pattern": [
|
|
53
|
-
"/((?<!\\\\)(?:'|\"))(?!\\1).*?(?<!\\1)(?<!\\\\)\\1(?!\\1)/g",
|
|
54
|
-
"/(\"\"\"|''')[^\\1]*?\\1/g"
|
|
51
|
+
"/((?<!\\\\)(?:'|\"))(?!\\1).*?(?<!\\1)(?<!\\\\)\\1(?!\\1)/g",
|
|
52
|
+
"/(\"\"\"|''')[^\\1]*?\\1/g"
|
|
55
53
|
]
|
|
56
54
|
},
|
|
57
55
|
{
|
|
@@ -65,10 +63,7 @@
|
|
|
65
63
|
{
|
|
66
64
|
"name": "comments",
|
|
67
65
|
"description": "Matches all comments in a Python File.",
|
|
68
|
-
"pattern": [
|
|
69
|
-
"/#.*/g", // Single line comment
|
|
70
|
-
"/(\"\"\"|''')[^\\1]*?\\1/g" // Multi line comment using multi-line string
|
|
71
|
-
]
|
|
66
|
+
"pattern": ["/#.*/g", "/(\"\"\"|''')[^\\1]*?\\1/g"]
|
|
72
67
|
}
|
|
73
68
|
]
|
|
74
69
|
}
|
package/dict/python.txt
CHANGED
|
@@ -4592,6 +4592,7 @@ executing
|
|
|
4592
4592
|
execution
|
|
4593
4593
|
executive
|
|
4594
4594
|
executor
|
|
4595
|
+
executorlib
|
|
4595
4596
|
execvp
|
|
4596
4597
|
execvpe
|
|
4597
4598
|
exempt
|
|
@@ -5726,6 +5727,7 @@ ipow
|
|
|
5726
5727
|
iptv
|
|
5727
5728
|
ipv4_mapped
|
|
5728
5729
|
ipykernel
|
|
5730
|
+
ipyparallel
|
|
5729
5731
|
ipython
|
|
5730
5732
|
ipython-genutils
|
|
5731
5733
|
ipywidgets
|
|
@@ -6200,6 +6202,7 @@ logo
|
|
|
6200
6202
|
logout
|
|
6201
6203
|
logs
|
|
6202
6204
|
loguru
|
|
6205
|
+
loky
|
|
6203
6206
|
long
|
|
6204
6207
|
longMessage
|
|
6205
6208
|
longdouble
|
|
@@ -8568,6 +8571,7 @@ structEndArchive
|
|
|
8568
8571
|
structFileHeader
|
|
8569
8572
|
structlog
|
|
8570
8573
|
stub
|
|
8574
|
+
stubtest
|
|
8571
8575
|
study
|
|
8572
8576
|
stuffsource
|
|
8573
8577
|
style
|
|
@@ -9670,6 +9674,7 @@ zipfile
|
|
|
9670
9674
|
zipimport
|
|
9671
9675
|
zipimporter
|
|
9672
9676
|
zipp
|
|
9677
|
+
zizmor
|
|
9673
9678
|
zlib
|
|
9674
9679
|
zoneinfo
|
|
9675
9680
|
zoom
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cspell/dict-python",
|
|
3
|
-
"version": "4.5.
|
|
3
|
+
"version": "4.5.3",
|
|
4
4
|
"description": "Python dictionary for cspell.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -39,13 +39,12 @@
|
|
|
39
39
|
"build": "pnpm cspell-tools-cli build",
|
|
40
40
|
"prepare:dictionary": "pnpm run build",
|
|
41
41
|
"prepublishOnly": "echo pre-publish",
|
|
42
|
-
"test": "pnpm run test-
|
|
43
|
-
"test-dictionary": "cspell -c ./cspell-ext.json --locale=en --languageId=python \"src/python/py*.txt\"",
|
|
42
|
+
"test": "pnpm run test-samples",
|
|
44
43
|
"test-samples": "cspell -c ./cspell-ext.json \"samples/**/*{.py,.txt}\"",
|
|
45
44
|
"update-python-lib": "./scripts/fetch-python.sh"
|
|
46
45
|
},
|
|
47
46
|
"dependencies": {
|
|
48
|
-
"@cspell/dict-data-science": "^2.0.
|
|
47
|
+
"@cspell/dict-data-science": "^2.0.17"
|
|
49
48
|
},
|
|
50
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "d3774bca5ac5bc6e0e981d7f04cf050d6ac3aee2"
|
|
51
50
|
}
|