instead of actually adding pyright configs that do not work, document

This commit is contained in:
burnettk 2023-05-29 11:52:35 -04:00
parent 4b21f02355
commit 6bbabd15f4
1 changed files with 8 additions and 10 deletions

View File

@ -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 = [