From 26fcdd318eafe8d256758edd5db75a184b7870e6 Mon Sep 17 00:00:00 2001 From: Luke Shingles Date: Tue, 15 Oct 2024 09:17:02 +0100 Subject: [PATCH] Update pyright config --- pyproject.toml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 40c59ec..397e7b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -58,8 +58,18 @@ warn_unused_configs = true warn_unused_ignores = true [tool.pyright] -exclude=['**/node_modules','**/__pycache__','**/.*', 'build', 'dist'] +deprecateTypingAliases = true +enableTypeIgnoreComments = false # leave these for mypy to interpret +exclude=['**/node_modules','**/__pycache__','**/.*', 'build', 'dist', 'target'] +reportAttributeAccessIssue = false +reportCallIssue = true +reportMissingImports = false +reportPossiblyUnboundVariable = false +reportUnecessaryTypeIgnoreComment = true +reportUnknownVariableType = false +typeCheckingMode = "standard" useLibraryCodeForTypes = false +targetVersion = "3.10" [tool.pytest.ini_options] addopts = " --durations=0 --typeguard-packages=pynonthermal -n auto"