coc-pyright 1.1.260 → 1.1.262

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-pyright",
3
- "version": "1.1.260",
3
+ "version": "1.1.262",
4
4
  "description": "Pyright extension for coc.nvim, static type checker for Python",
5
5
  "author": "Heyward Fann <fannheyward@gmail.com>",
6
6
  "license": "MIT",
@@ -667,6 +667,17 @@
667
667
  "error"
668
668
  ]
669
669
  },
670
+ "reportUnnecessaryContains": {
671
+ "type": "string",
672
+ "description": "Diagnostics for 'in' operation that is statically determined to be unnecessary. Such operations are sometimes indicative of a programming error.",
673
+ "default": "none",
674
+ "enum": [
675
+ "none",
676
+ "information",
677
+ "warning",
678
+ "error"
679
+ ]
680
+ },
670
681
  "reportAssertAlwaysTrue": {
671
682
  "type": "string",
672
683
  "description": "Diagnostics for 'assert' statement that will provably always assert. This can be indicative of a programming error.",
@@ -1419,6 +1430,6 @@
1419
1430
  ]
1420
1431
  },
1421
1432
  "dependencies": {
1422
- "pyright": "^1.1.260"
1433
+ "pyright": "^1.1.262"
1423
1434
  }
1424
1435
  }
@@ -424,6 +424,12 @@
424
424
  "title": "Controls reporting the use of '==' or '!=' comparisons that are unnecessary",
425
425
  "default": "none"
426
426
  },
427
+ "reportUnnecessaryContains": {
428
+ "$id": "#/properties/reportUnnecessaryContains",
429
+ "$ref": "#/definitions/diagnostic",
430
+ "title": "Controls reporting the use of 'in' operations that are unnecessary",
431
+ "default": "none"
432
+ },
427
433
  "reportAssertAlwaysTrue": {
428
434
  "$id": "#/properties/reportAssertAlwaysTrue",
429
435
  "$ref": "#/definitions/diagnostic",