root: move pyright config to toml

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-02 13:05:11 +01:00
parent 2da7a8fede
commit 1aa9c0f9ca
2 changed files with 15 additions and 12 deletions

View File

@ -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] [tool.black]
line-length = 100 line-length = 100
target-version = ['py38'] target-version = ['py39']
exclude = 'node_modules' exclude = 'node_modules'
[tool.isort] [tool.isort]

View File

@ -1,11 +0,0 @@
{
"reportMissingTypeStubs": false,
"ignore": [
"**/migrations/**",
"**/node_modules/**"
],
"strictParameterNoneValue": true,
"strictDictionaryInference": true,
"strictListInference": true,
"verboseOutput": false
}