get rid of some pyright diagnostics

This commit is contained in:
burnettk 2023-05-27 22:33:53 -04:00
parent 6a328cdb43
commit 4b21f02355
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