vimpelican / upbit-bollinger-trader

오픈소스소프트웨어 프로젝트
MIT License
0 stars 0 forks source link

Suppress Pylance Warnings for Missing Imports in settings.json #8

Open vimpelican opened 5 days ago

vimpelican commented 5 days ago

Image

Image

Description

Pylance in VS Code keeps showing warnings for missing imports, which is distracting as it changes the file name color to yellow. I have added configurations to suppress these warnings, but I want to document this in our repository for future reference.

vimpelican commented 5 days ago

Solution

Document the configuration in settings.json to suppress these warnings and ensure it is included in the repository for future reference.

    "cmake.options.statusBarVisibility": "visible",
    "python.analysis.diagnosticSeverityOverrides": {
        "reportMissingImports": "none",           // Add these two lines
        "reportMissingModuleSource": "none"    // Add these two lines
    }

Result

Image