@cspell/dict-python 4.5.1 → 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 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) | `>= 8` |
14
- | [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4` |
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", // Single line string
54
- "/(\"\"\"|''')[^\\1]*?\\1/g" // Multi-line string
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
@@ -131,6 +131,7 @@ AttributeError
131
131
  AttributeList
132
132
  AttributesImpl
133
133
  AttributesNSImpl
134
+ Au
134
135
  AugLoad
135
136
  AugStore
136
137
  AuthenticationError
@@ -500,6 +501,8 @@ DEFAULTSECT
500
501
  DEFAULT_ANGLEOFFSET
501
502
  DEFAULT_ANGLEORIENT
502
503
  DEFAULT_PYPIRC
504
+ DEFAULT_TCP_LOGGING_PORT
505
+ DEFAULT_UDP_LOGGING_PORT
503
506
  DEFLATED
504
507
  DEL
505
508
  DELAY
@@ -513,10 +516,8 @@ DESTROY
513
516
  DET
514
517
  DETAIL
515
518
  DETECTED
516
- DEV
517
519
  DEVICE
518
520
  DEVNULL
519
- DFA
520
521
  DFAState
521
522
  DIALOG
522
523
  DICT
@@ -530,7 +531,6 @@ DIVIDER
530
531
  DLE
531
532
  DLL
532
533
  DM
533
- DNS
534
534
  DO
535
535
  DOCUMENT
536
536
  DOM
@@ -985,7 +985,6 @@ GravSys
985
985
  GrepDialog
986
986
  Grep_itTest
987
987
  GroupInfo
988
- Gui
989
988
  GzipDecodedResponse
990
989
  GzipFile
991
990
  HACCEL
@@ -1280,7 +1279,8 @@ JoinableQueue
1280
1279
  KEEP
1281
1280
  KERMIT
1282
1281
  KERN
1283
- KEYPRESS
1282
+ KEYPRESS_SEQUENCES
1283
+ KEYPRESS_VIRTUAL_EVENT_NAME
1284
1284
  KEYRELEASE_SEQUENCE
1285
1285
  KEYRELEASE_VIRTUAL_EVENT_NAME
1286
1286
  KEYS
@@ -1345,6 +1345,7 @@ LOG_LPR
1345
1345
  LOG_NTP
1346
1346
  LOG_SOLCRON
1347
1347
  LOG_THRESHOLD_FOR_CONNLOST_WRITES
1348
+ LOG_UUCP
1348
1349
  LONG
1349
1350
  LOOKUP
1350
1351
  LOOP
@@ -1455,6 +1456,7 @@ MC_BUTTONRELEASE
1455
1456
  MC_COLORMAP
1456
1457
  MC_FOCUSIN
1457
1458
  MC_FOCUSOUT
1459
+ MC_KEYPRESS
1458
1460
  MC_KEYRELEASE
1459
1461
  MC_MOUSEWHEEL
1460
1462
  MC_REPARENT
@@ -1595,6 +1597,7 @@ NAME
1595
1597
  NAMED
1596
1598
  NAMES
1597
1599
  NAMESPACE
1600
+ NAMESPACE_DNS
1598
1601
  NAMESPACE_OID
1599
1602
  NAMS
1600
1603
  NAOCRD
@@ -1663,6 +1666,7 @@ NUMBER
1663
1666
  NUMERIC
1664
1667
  NV_MAGICCONST
1665
1668
  NW
1669
+ Na
1666
1670
  NameConstant
1667
1671
  NameError
1668
1672
  NameSpaceTest
@@ -1799,7 +1803,6 @@ PBOOLEAN
1799
1803
  PBYTE
1800
1804
  PCALLS
1801
1805
  PCHAR
1802
- PCM
1803
1806
  PDWORD
1804
1807
  PEM_FOOTER
1805
1808
  PEM_HEADER
@@ -2226,6 +2229,7 @@ STRING
2226
2229
  STRINGCHUNK
2227
2230
  STRUCT
2228
2231
  STX
2232
+ ST_DEV
2229
2233
  ST_INO
2230
2234
  ST_NLINK
2231
2235
  SUB
@@ -2244,6 +2248,8 @@ SYN
2244
2248
  SYNCHRONOUS
2245
2249
  SYNTAX
2246
2250
  SYSLOG
2251
+ SYSLOG_TCP_PORT
2252
+ SYSLOG_UDP_PORT
2247
2253
  SYSTEM
2248
2254
  S_ENFMT
2249
2255
  S_IEXEC
@@ -2438,7 +2444,6 @@ TAB
2438
2444
  TAKEN
2439
2445
  TC
2440
2446
  TCL
2441
- TCP
2442
2447
  TCPServer
2443
2448
  TELNET
2444
2449
  TEMPLATE
@@ -2564,7 +2569,6 @@ TypeLib
2564
2569
  TypeVar
2565
2570
  TypeVarTuple
2566
2571
  TypedDict
2567
- UDP
2568
2572
  UDPServer
2569
2573
  UEMPTYSTRING
2570
2574
  UF_APPEND
@@ -2574,7 +2578,6 @@ UF_IMMUTABLE
2574
2578
  UF_NODUMP
2575
2579
  UF_NOUNLINK
2576
2580
  UF_OPAQUE
2577
- UI
2578
2581
  UID
2579
2582
  UINT
2580
2583
  UIText
@@ -2611,7 +2614,6 @@ USHORT
2611
2614
  USTAR_FORMAT
2612
2615
  UTC
2613
2616
  UTF
2614
- UUCP
2615
2617
  UUID
2616
2618
  UnboundLocalError
2617
2619
  UndecodableBytesDefect
@@ -2682,7 +2684,7 @@ WAIT
2682
2684
  WARN
2683
2685
  WARNING
2684
2686
  WATER
2685
- WAVE
2687
+ WAVE_FORMAT_PCM
2686
2688
  WCHAR
2687
2689
  WEEKDAY
2688
2690
  WELCOME
@@ -2742,7 +2744,7 @@ XAUTH
2742
2744
  XDISPLOC
2743
2745
  XGLTYPE
2744
2746
  XHDTYPE
2745
- XHTML
2747
+ XHTML_NAMESPACE
2746
2748
  XINCLUDE
2747
2749
  XML
2748
2750
  XMLFilterBase
@@ -3147,7 +3149,6 @@ attrib
3147
3149
  attribute
3148
3150
  attributes
3149
3151
  attrs
3150
- au
3151
3152
  audio
3152
3153
  audioop
3153
3154
  audioread
@@ -3541,19 +3542,19 @@ cachetools
3541
3542
  cachy
3542
3543
  cairocffi
3543
3544
  cairosvg
3544
- calc
3545
+ calc_callees
3545
3546
  calc_chksums
3546
3547
  calcfirst
3547
3548
  calendar
3548
3549
  calibrate
3549
3550
  call
3550
3551
  callHandlers
3552
+ call_soon_threadsafe
3551
3553
  callable
3552
3554
  callables
3553
3555
  callback
3554
3556
  callbacks
3555
3557
  called
3556
- callees
3557
3558
  caller
3558
3559
  callers
3559
3560
  calls
@@ -3646,7 +3647,6 @@ charref
3646
3647
  chars
3647
3648
  charset
3648
3649
  charset-normalizer
3649
- charsets
3650
3650
  chat
3651
3651
  chdir
3652
3652
  check
@@ -3982,6 +3982,7 @@ createProcessingInstruction
3982
3982
  createSocket
3983
3983
  createTests
3984
3984
  createTextNode
3985
+ create_datagram_endpoint
3985
3986
  create_unicode_buffer
3986
3987
  create_ustar_header
3987
3988
  createmenubar
@@ -4063,7 +4064,7 @@ dataconf
4063
4064
  datadog
4064
4065
  datadog-api-client
4065
4066
  dataframe
4066
- datagram
4067
+ datagram_received
4067
4068
  datamodule
4068
4069
  datasets
4069
4070
  datasizemask
@@ -4290,6 +4291,7 @@ doCleanups
4290
4291
  doModuleCleanups
4291
4292
  doRollover
4292
4293
  do_bt
4294
+ do_longlist
4293
4295
  do_rv
4294
4296
  do_tbreak
4295
4297
  do_unalias
@@ -4466,6 +4468,7 @@ endElementNS
4466
4468
  endPrefixMapping
4467
4469
  end_bigdecimal
4468
4470
  end_cdata_section_handler
4471
+ end_element_ns
4469
4472
  end_methodName
4470
4473
  endendtag
4471
4474
  endexecuting
@@ -4473,7 +4476,6 @@ endheaders
4473
4476
  ending
4474
4477
  endoffile
4475
4478
  endpats
4476
- endpoint
4477
4479
  endprogs
4478
4480
  ends
4479
4481
  endswith
@@ -4590,6 +4592,7 @@ executing
4590
4592
  execution
4591
4593
  executive
4592
4594
  executor
4595
+ executorlib
4593
4596
  execvp
4594
4597
  execvpe
4595
4598
  exempt
@@ -5060,6 +5063,7 @@ get_argspec
5060
5063
  get_bpbynumber
5061
5064
  get_buf
5062
5065
  get_characteristic_subpattern
5066
+ get_charsets
5063
5067
  get_cnonce
5064
5068
  get_content_maintype
5065
5069
  get_coro
@@ -5327,7 +5331,6 @@ graphlib
5327
5331
  graphql-core
5328
5332
  graphql-relay
5329
5333
  graphviz
5330
- grav
5331
5334
  gravity
5332
5335
  great-expectations
5333
5336
  greater
@@ -5724,6 +5727,7 @@ ipow
5724
5727
  iptv
5725
5728
  ipv4_mapped
5726
5729
  ipykernel
5730
+ ipyparallel
5727
5731
  ipython
5728
5732
  ipython-genutils
5729
5733
  ipywidgets
@@ -5980,7 +5984,7 @@ keyboard
5980
5984
  keyed
5981
5985
  keyerror_title
5982
5986
  keynames
5983
- keypress
5987
+ keypress_event
5984
5988
  keyrefs
5985
5989
  keyrelease_event
5986
5990
  keyring
@@ -6198,11 +6202,11 @@ logo
6198
6202
  logout
6199
6203
  logs
6200
6204
  loguru
6205
+ loky
6201
6206
  long
6202
6207
  longMessage
6203
6208
  longdouble
6204
6209
  longest
6205
- longlist
6206
6210
  longopt_pat
6207
6211
  longopt_re
6208
6212
  longopt_xlate
@@ -6336,6 +6340,7 @@ matplotlib
6336
6340
  matplotlib-inline
6337
6341
  max
6338
6342
  maxDiff
6343
+ max_redirections
6339
6344
  maxlen
6340
6345
  maxline
6341
6346
  maxminddb
@@ -6550,7 +6555,6 @@ mysql-connector-python
6550
6555
  mysqlclient
6551
6556
  myst-parser
6552
6557
  n
6553
- na
6554
6558
  nag
6555
6559
  naked
6556
6560
  name
@@ -6678,7 +6682,6 @@ nowhitespace
6678
6682
  nox
6679
6683
  npgettext
6680
6684
  nr
6681
- ns
6682
6685
  nsmallest
6683
6686
  nt
6684
6687
  nti
@@ -6688,7 +6691,6 @@ ntransfercmd
6688
6691
  nts
6689
6692
  nturl2path
6690
6693
  null
6691
- nullable
6692
6694
  nullcontext
6693
6695
  num2words
6694
6696
  numba
@@ -6946,6 +6948,7 @@ parse_endtag
6946
6948
  parse_graminit_c
6947
6949
  parse_graminit_h
6948
6950
  parse_keqv_list
6951
+ parse_ns_headers
6949
6952
  parse_qs
6950
6953
  parse_qsl
6951
6954
  parse_rhs
@@ -7010,6 +7013,7 @@ pd
7010
7013
  pdb
7011
7014
  pdbpp
7012
7015
  pdf
7016
+ pdf2image
7013
7017
  pdfkit
7014
7018
  pdfminer-six
7015
7019
  pdpyras
@@ -7199,6 +7203,7 @@ previousSibling
7199
7203
  print
7200
7204
  printErrorList
7201
7205
  printErrors
7206
+ print_callees
7202
7207
  printable
7203
7208
  printdir
7204
7209
  printer
@@ -7675,7 +7680,6 @@ redirect_focusin_event
7675
7680
  redirect_mousebutton_event
7676
7681
  redirect_mousewheel_event
7677
7682
  redirect_yscroll_event
7678
- redirections
7679
7683
  redirector
7680
7684
  redis
7681
7685
  redis-py-cluster
@@ -7934,6 +7938,7 @@ ruler
7934
7938
  run
7935
7939
  runTest
7936
7940
  runTests
7941
+ run_coroutine_threadsafe
7937
7942
  run_in_tk_mainloop
7938
7943
  runcall
7939
7944
  runcase
@@ -8489,6 +8494,8 @@ startPrefixMapping
8489
8494
  startTest
8490
8495
  startTestRun
8491
8496
  start_cdata_section_handler
8497
+ start_element_ns
8498
+ start_ns
8492
8499
  start_tls
8493
8500
  startswith
8494
8501
  starttagopen
@@ -8564,6 +8571,7 @@ structEndArchive
8564
8571
  structFileHeader
8565
8572
  structlog
8566
8573
  stub
8574
+ stubtest
8567
8575
  study
8568
8576
  stuffsource
8569
8577
  style
@@ -8746,6 +8754,7 @@ testNamePatterns
8746
8754
  test_8svx
8747
8755
  test_addcmd
8748
8756
  test_ask_tabwidth
8757
+ test_au
8749
8758
  test_autoexpand
8750
8759
  test_bad_setrecursionlimit_calls
8751
8760
  test_bind_not_ok
@@ -8844,6 +8853,7 @@ test_rclick
8844
8853
  test_readlines
8845
8854
  test_recolorize
8846
8855
  test_recolorize_main
8856
+ test_redirector
8847
8857
  test_removecolors
8848
8858
  test_removefilter
8849
8859
  test_rgb
@@ -8873,6 +8883,7 @@ test_textview
8873
8883
  test_toggle_linenumbering
8874
8884
  test_unfound
8875
8885
  test_untabify_region_event
8886
+ test_wav
8876
8887
  test_webp
8877
8888
  test_write_stderr_nonencodable
8878
8889
  test_xbm
@@ -8925,7 +8936,6 @@ threading
8925
8936
  threadpool
8926
8937
  threadpoolctl
8927
8938
  threads
8928
- threadsafe
8929
8939
  three
8930
8940
  threshold
8931
8941
  thrift
@@ -9107,6 +9117,7 @@ twisted
9107
9117
  two
9108
9118
  txaio
9109
9119
  type
9120
+ type_nullable
9110
9121
  typecode_to_type
9111
9122
  typed
9112
9123
  typed-ast
@@ -9391,7 +9402,6 @@ watched
9391
9402
  watcher
9392
9403
  watchfiles
9393
9404
  watchtower
9394
- wav
9395
9405
  wave
9396
9406
  way
9397
9407
  wbufsize
@@ -9664,6 +9674,7 @@ zipfile
9664
9674
  zipimport
9665
9675
  zipimporter
9666
9676
  zipp
9677
+ zizmor
9667
9678
  zlib
9668
9679
  zoneinfo
9669
9680
  zoom
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/dict-python",
3
- "version": "4.5.1",
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-dictionary && pnpm run test-samples",
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.16"
47
+ "@cspell/dict-data-science": "^2.0.17"
49
48
  },
50
- "gitHead": "5fa3376da5efed6b13be4159309c70c8793af0de"
49
+ "gitHead": "d3774bca5ac5bc6e0e981d7f04cf050d6ac3aee2"
51
50
  }