Skip to content

Commit

Permalink
🔧 update pyright config
Browse files Browse the repository at this point in the history
  • Loading branch information
yanyongyu authored Mar 22, 2024
1 parent 20a6d7a commit 023925c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pyproject.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 023925c

Please sign in to comment.