From 1aa9c0f9cac3b3bf9ba1297662b4dede7e099a2f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 2 Nov 2021 13:05:11 +0100 Subject: [PATCH] root: move pyright config to toml Signed-off-by: Jens Langhammer --- pyproject.toml | 16 +++++++++++++++- pyrightconfig.json | 11 ----------- 2 files changed, 15 insertions(+), 12 deletions(-) delete mode 100644 pyrightconfig.json diff --git a/pyproject.toml b/pyproject.toml index f4709f32a..d8f167d9e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,20 @@ +[tool.pyright] +ignore = [ + "**/migrations/**", + "**/node_modules/**" +] + +reportMissingTypeStubs = false +strictParameterNoneValue = true +strictDictionaryInference = true +strictListInference = true +verboseOutput = false +pythonVersion = "3.9" +pythonPlatform = "Linux" + [tool.black] line-length = 100 -target-version = ['py38'] +target-version = ['py39'] exclude = 'node_modules' [tool.isort] diff --git a/pyrightconfig.json b/pyrightconfig.json deleted file mode 100644 index 039b986c7..000000000 --- a/pyrightconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "reportMissingTypeStubs": false, - "ignore": [ - "**/migrations/**", - "**/node_modules/**" - ], - "strictParameterNoneValue": true, - "strictDictionaryInference": true, - "strictListInference": true, - "verboseOutput": false -}