79485082

Date: 2025-03-04 23:16:03
Score: 1.5
Natty:
Report link

Had to add this to my settings.json and then get all the fully qualified imports correctly done. Like this: from code.jobber.jobber_api import JobberAPI NOTE:"Pylance quick fix add imports sucks and does not honor this. Ifg anyone knows how to fix VS code to import the full path by default. Please let me know

{
    "azureFunctions.deploySubpath": ".",
    "azureFunctions.scmDoBuildDuringDeployment": true,
    "azureFunctions.projectLanguage": "Python",
    "azureFunctions.projectRuntime": "~4",
    "debug.internalConsoleOptions": "neverOpen",
    "azureFunctions.projectLanguageModel": 2,
    "python.pythonPath": "/usr/bin/python",
    "python.autoComplete.extraPaths": [
      "${workspaceFolder}/Code/db",
      "${workspaceFolder}/Code/models",
      "${workspaceFolder}/Code/jobber",
      "${workspaceFolder}/Code",
      "${workspaceFolder}/Code/google",       
      "${workspaceFolder}/Code/tests",
      "${workspaceFolder}/Code/mailer_lite",
      "${workspaceFolder}/Code/apify",
      "$./Code/db",
      "$./Code/models",
      "$./Code/jobber",
      "$./Code",
      "$./Code/google",       
      "$./Code/tests",
      "$./Code/mailer_lite",
      "$./Code/apify"
    ],
    "python.analysis.extraPaths": [
        "${workspaceFolder}/Code/db",
        "${workspaceFolder}/Code/models",
        "${workspaceFolder}/Code/jobber",
        "${workspaceFolder}/Code",
        "${workspaceFolder}/Code/google",       
        "${workspaceFolder}/Code/tests",
        "${workspaceFolder}/Code/mailer_lite",
        "${workspaceFolder}/Code/apify",
        "$./Code/db",
        "$./Code/models",
        "$./Code/jobber",
        "$./Code",
        "$./Code/google",       
        "$./Code/tests",
        "$./Code/mailer_lite",
        "$./Code/apify"
    ],
Reasons:
  • Blacklisted phrase (1): anyone knows
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Steve Coleman