CesiumGS / cesium-omniverse

Bringing the 3D geospatial ecosystem to Omniverse
https://cesium.com/platform/cesium-for-omniverse/
Apache License 2.0
55 stars 7 forks source link

Fix deprecated Python VS Code settings #606

Closed lilleyse closed 8 months ago

lilleyse commented 8 months ago

According to a popup that appears when opening the workspace in VS Code now, python.formatting and python.linting options have been deprecated and separate extensions should be installed.

2023-12-29 10:24:28.492 [info] Experiment 'pythonRecommendTensorboardExt' is active
2023-12-29 10:24:28.492 [info] Experiment 'pythonREPLSmartSend' is active
2023-12-29 10:24:28.492 [info] Experiment 'pythonTestAdapter' is active
2023-12-29 10:24:28.492 [info] Default formatter is set to ms-python.black-formatter for workspace c:\Users\Sean\Code\cesium-omniverse
2023-12-29 10:24:28.492 [error] Following setting is deprecated: "python.linting.flake8Enabled"
2023-12-29 10:24:28.492 [error] All settings starting with "python.linting." are deprecated and can be removed from settings.
2023-12-29 10:24:28.492 [error] Linting features have been moved to separate linter extensions.
2023-12-29 10:24:28.492 [error] See here for more information: https://code.visualstudio.com/docs/python/linting
2023-12-29 10:24:28.492 [error] Please install "flake8" extension: https://marketplace.visualstudio.com/items?itemName=ms-python.flake8
2023-12-29 10:24:28.493 [info] Test server listening.
2023-12-29 10:24:28.493 [info] Python interpreter path: .\extern\nvidia\_build\target-deps\python\python.exe
2023-12-29 10:24:32.966 [info] Starting Pylance language server.
2023-12-29 10:24:32.970 [error] Active interpreter type is detected as Unknown {"id":"C:\\USERS\\SEAN\\CODE\\CESIUM-OMNIVERSE\\EXTERN\\NVIDIA\\_BUILD\\TARGET-DEPS\\PYTHON\\PYTHON.EXE","sysPrefix":"c:\\Users\\Sean\\Code\\cesium-omniverse\\extern\\nvidia\\_build\\target-deps\\python","envType":"Unknown","envName":"","envPath":"","path":"c:\\Users\\Sean\\Code\\cesium-omniverse\\extern\\nvidia\\_build\\target-deps\\python\\python.exe","architecture":3,"sysVersion":"3.10.13 (main, Sep  6 2023, 15:30:33) [MSC v.1912 64 bit (AMD64)]","version":{"raw":"3.10.13","major":3,"minor":10,"patch":13,"build":[],"prerelease":["final","0"]},"displayName":"Python 3.10.13 64-bit","detailedDisplayName":"Python 3.10.13 64-bit"}