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 namespace_packages = true
explicit_package_bases = false explicit_package_bases = false
[tool.pyright] # [tool.pyright]
reportMissingModuleSource = false # Pyright: Import "flask" could not be resolved
reportMissingImports = false # ultimately resolved by creating a pyrightconfig.json file with venv and venvPath
reportUnusedVariable = false # Pyright: "hey" is not accessed
typeCheckingMode = "off" # See: https://github.com/microsoft/pyright/discussions/3929#discussioncomment-5434231
reportUnusedFunction = false # "Those are not warnings" and cannot be turned off like this:
reportUnusedClass = false # reportUnusedVariable = false
# it appears that: Pyright: "hey" is not accessed # solution was https://www.reddit.com/r/neovim/comments/11k5but/comment/jbjwwtf in vim settings
# 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.ruff] [tool.ruff]
select = [ select = [