File: pyrightconfig.json

package info (click to toggle)
python-tatsu 5.17.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,516 kB
  • sloc: python: 13,185; makefile: 127
file content (47 lines) | stat: -rw-r--r-- 1,513 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//Copyright (c) 2017-2026 Juancarlo AƱez (apalala@gmail.com)
//SPDX-License-Identifier: BSD-4-Clause
{
  // Possible values for typeCheckingMode:
  // "off":         Only reports syntax errors.
  // "basic":       Basic type checking; similar to default mypy.
  // "standard":    Recommended middle ground; more "Any" checks.
  // "recommended": High-quality type safety without being pedantic.
  // "strict":      All Pyright strict rules; "Any" is mostly forbidden.
  // "all":         Enables every single diagnostic rule Basedpyright has.
  "typeCheckingMode": "standard",
  "pythonVersion": "3.12",
  "include": ["."],
  "ignore": [
    "tatsu/codegen/*",
    "tatsu/g2e/*"
  ],
  "exclude": [
    "**/node_modules",
    "**/__pycache__",
    "**/.venv",
    "**/.git",
    "examples/calc",
    "parsers/"
  ],
  "reportAttributeAccessIssue": false,
  "reportMissingParameterType": false,
  "reportImplicitOverride": false,
  "reportUnhashable": false,

  "reportUnreachable": false,
  "reportMissingTypeStubs": false,
  "reportUnknownMemberType": false,
  "reportUnknownVariableType": false,
  "reportUnknownArgumentType": false,
  "reportUnknownParameterType": false,
  "reportUnknownLambdaType": false,
//  "reportUnknownReturnType": false,
  "reportAny": false,
  "reportExplicitAny": false,
  "reportUnnecessaryIsInstance": false,
  "reportUnnecessaryCast": false,
  "reportUnnecessaryComparison": false,
  "reportUnusedClass": false,
  "reportUnusedFunction": false,
  "reportUnusedVariable": false
}