get rid of some pyright diagnostics

This commit is contained in:
burnettk 2023-05-27 22:33:53 -04:00
parent d48020e4f1
commit 6350305f41
No known key found for this signature in database
1 changed files with 11 additions and 0 deletions

View File

@ -156,6 +156,17 @@ 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.ruff]
select = [
"B", # flake8-bugbear