blob: d589a07930ad418f4f63af9af75b511644e1b882 [file] [log] [blame] [edit]
{
"extends": "pyrightconfig.base.json",
"include": [
"build",
"sdk",
"src",
"scripts",
"tools",
"vendor",
"zircon"
],
// Paths added to fuchsiaExtraPaths will be included in the extraPaths of the
// generated pyrightconfig.base.json config that this pyrightconfig.json is
// extended from.
//
// The fuchsiaExtraPaths variable itself is ignored by pyright tooling. This
// variable is read by the //:python_ide_integration build action to inject
// extraPaths into $root_build_dir/pyrightconfig.base.json. This
// pyrightconfig.json then uses pyrightconfig.base.json to extend itself.
//
// This is required because the //:python_ide_integration build action writes
// paths of build-time generated Python modules into the extraPaths of
// $root_build_dir/pyrightconfig.base.json, and pyright clobbers variables from
// extended configs.
"fuchsiaExtraPaths": [
// keep-sorted start
"build/api",
"build/bazel",
"build/bazel/scripts",
"build/python/modules",
"build/python/tests",
"build/sdk",
"scripts/lib",
"src/developer/ffx/lib/fuchsia-controller/cpp",
"src/developer/ffx/lib/fuchsia-controller/python",
"src/lib/diagnostics/python",
"src/performance/lib",
"src/testing/end_to_end/antlion/packages",
"src/testing/end_to_end/honeydew",
"src/testing/end_to_end/mobly_base_tests",
"src/tests/end_to_end/lib",
"third_party/github.com/jd/tenacity/src",
"third_party/jellyfish/jellyfish/jellyfish",
"third_party/jinja2",
"third_party/mako",
"third_party/mobly/src",
"third_party/parameterized/src",
"third_party/pyyaml/src",
"third_party/snippet-uiautomator/src"
// keep-sorted end
],
"exclude": [
"prebuilt",
"**/prebuilt_symlink",
"**/__pycache__",
"out"
]
}