Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d9eccc61 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Pandora: mutualize pyright files" into main

parents b1942c82 3166e689
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,8 +8,8 @@ okamil@google.com #{LAST_RESORT_SUGGESTION}

# Per-file ownership

# Build files / test_config / presubmit / preupload
per-file PREUPLOAD.cfg,TEST_MAPPING,*.bp,*.xml=file:/OWNERS_build
# Build files / test_config / presubmit / preupload / linter file
per-file PREUPLOAD.cfg,TEST_MAPPING,*.bp,*.xml,pyrightconfig.json=file:/OWNERS_build

# ChromeOS team owns Linux build files
# - build.py is used for Linux build
+0 −14
Original line number Diff line number Diff line
{
    "typeCheckingMode": "strict",
    "useLibraryCodeForTypes": true,
    "verboseOutput": false,
    "reportMissingTypeStubs": false,
    "reportUnknownLambdaType": false,
    "reportImportCycles": false,
    "reportPrivateUsage": false,
    "extraPaths": [
        "../../../pandora/server",
        "../../../../../../out/soong/.intermediates/external/pandora/bt-test-interfaces/python/pandora-python-gen-src/gen/",
        "../../../../../../out/soong/.intermediates/packages/modules/Bluetooth/pandora/interfaces/python/pandora_experimental-python-gen-src/gen/"
    ]
}
+0 −19
Original line number Diff line number Diff line
{
    "typeCheckingMode": "strict",
    "useLibraryCodeForTypes": true,
    "verboseOutput": false,
    "reportMissingTypeStubs": false,
    "reportUnknownLambdaType": false,
    "reportImportCycles": false,
    "reportPrivateUsage": false,
    "extraPaths": [
        "../../../pandora/server",
        "../../../../../../external/pandora/avatar",
        "../../../../../../external/python/bumble",
        "../../../../../../external/python/mobly",
        "../../../../../../external/python/pyee",
        "../../../../../../external/python/portpicker/src",
        "../../../../../../out/soong/.intermediates/external/pandora/bt-test-interfaces/python/pandora-python-gen-src/gen/",
        "../../../../../../out/soong/.intermediates/packages/modules/Bluetooth/pandora/interfaces/python/pandora_experimental-python-gen-src/gen/"
    ]
}
 No newline at end of file

pyrightconfig.json

0 → 100644
+34 −0
Original line number Diff line number Diff line
{
    "typeCheckingMode": "strict",
    "useLibraryCodeForTypes": true,
    "verboseOutput": false,
    "reportMissingTypeStubs": false,
    "reportUnknownLambdaType": false,
    "reportImportCycles": false,
    "reportPrivateUsage": false,
    "executionEnvironments": [
        {
            "root": "android/pandora/test",
            "extraPaths": ["pandora/server"]
        },
        {
            "root": "android/pandora/mmi2grpc"
        },
        {
            "root": "pandora/server/bumble_experimental"
        },
        {
            "root": "framework/tests/bumble/src/bumble_server.py",
            "extraPaths": ["pandora/server"]
        }
    ],
    "extraPaths": [
        "../../../external/pandora/avatar",
        "../../../external/python/bumble",
        "../../../external/python/mobly",
        "../../../external/python/pyee",
        "../../../external/python/portpicker/src",
        "../../../out/soong/.intermediates/external/pandora/bt-test-interfaces/python/pandora-python-gen-src/gen/",
        "../../../out/soong/.intermediates/packages/modules/Bluetooth/pandora/interfaces/python/pandora_experimental-python-gen-src/gen/"
    ]
}