From 023925c379d0f2821d459badb3009277ff572a13 Mon Sep 17 00:00:00 2001 From: Ju4tCode <42488585+yanyongyu@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:57:05 +0800 Subject: [PATCH] :wrench: update pyright config --- pyproject.example.toml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pyproject.example.toml b/pyproject.example.toml index c720603..e6282fb 100644 --- a/pyproject.example.toml +++ b/pyproject.example.toml @@ -75,6 +75,15 @@ mark-parentheses = false [tool.ruff.lint.pyupgrade] keep-runtime-typing = true +[tool.pyright] +typeCheckingMode = "standard" +reportPrivateImportUsage = false +reportShadowedImports = false +disableBytesTypePromotions = true + +pythonPlatform = "All" +pythonVersion = "3.8 + [build-system] requires = ["poetry_core>=1.0.0"] build-backend = "poetry.core.masonry.api"