From 6bbabd15f41606c88ae7dad4e05e063b7004ffe6 Mon Sep 17 00:00:00 2001 From: burnettk Date: Mon, 29 May 2023 11:52:35 -0400 Subject: [PATCH] instead of actually adding pyright configs that do not work, document --- spiffworkflow-backend/pyproject.toml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/spiffworkflow-backend/pyproject.toml b/spiffworkflow-backend/pyproject.toml index b0009160..aa48b06d 100644 --- a/spiffworkflow-backend/pyproject.toml +++ b/spiffworkflow-backend/pyproject.toml @@ -156,16 +156,14 @@ implicit_reexport = true namespace_packages = true explicit_package_bases = false -[tool.pyright] -reportMissingModuleSource = false -reportMissingImports = false -reportUnusedVariable = false -typeCheckingMode = "off" -reportUnusedFunction = false -reportUnusedClass = false -# it appears that: Pyright: "hey" is not accessed -# may relate to: https://github.com/microsoft/pyright/discussions/3929#discussioncomment-5434231 -# "Those are not warnings" and cannot be turned off in the same way. +# [tool.pyright] +# Pyright: Import "flask" could not be resolved +# ultimately resolved by creating a pyrightconfig.json file with venv and venvPath +# Pyright: "hey" is not accessed +# See: https://github.com/microsoft/pyright/discussions/3929#discussioncomment-5434231 +# "Those are not warnings" and cannot be turned off like this: +# reportUnusedVariable = false +# solution was https://www.reddit.com/r/neovim/comments/11k5but/comment/jbjwwtf in vim settings [tool.ruff] select = [