mirror of
https://github.com/searxng/searxng.git
synced 2025-12-22 11:40:01 +00:00
pyrightconfig.json : for the paths searx, searxng_extra and tests, individual rules were defined (for example, in test fewer / different rules are needed than in the searx package searx/engines/__builtins__.pyi : The builtin types that are added to the global namespace of a module by the intended monkey patching of the engine modules / replaces the previous filtering of the stdout using grep. test.pyright_modified (utils/lib_sxng_test.sh) : static type check of local modified files not yet commited make test : prerequisite 'test.pyright' has been replaced by 'test.pyright_modified' searx/engines/__init__.py, searx/enginelib/__init__.py : First, minimal typifications that were considered necessary.
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"venvPath": "local",
|
|
"venv": "py3",
|
|
"include": [
|
|
"searx",
|
|
"searxng_extra",
|
|
"tests"
|
|
],
|
|
"reportAny" : "information",
|
|
"enableTypeIgnoreComments": true,
|
|
"reportIgnoreCommentWithoutRule": true,
|
|
"reportImplicitStringConcatenation": false,
|
|
"reportUninitializedInstanceVariable": false,
|
|
"reportUnnecessaryIsInstance": false,
|
|
"reportUnreachable": "information",
|
|
"reportUnusedCallResult": false,
|
|
"executionEnvironments": [
|
|
{
|
|
"root": "searx",
|
|
"extraPaths": ["."]
|
|
},
|
|
{
|
|
"root": "searxng_extra",
|
|
"extraPaths": ["."],
|
|
"reportAny" : false,
|
|
"reportUnknownMemberType": false,
|
|
"reportUnknownVariableType": false
|
|
},
|
|
{
|
|
"root": "tests",
|
|
"extraPaths": ["."],
|
|
"reportAny" : false,
|
|
"reportImplicitOverride": false,
|
|
"reportMissingParameterType": false,
|
|
"reportMissingTypeArgument": false,
|
|
"reportMissingTypeStubs": false,
|
|
"reportPrivateLocalImportUsage": false,
|
|
"reportPrivateUsage": false,
|
|
"reportUnannotatedClassAttribute": false,
|
|
"reportUnknownArgumentType": false,
|
|
"reportUnknownLambdaType": false,
|
|
"reportUnknownMemberType": false,
|
|
"reportUnknownParameterType": false,
|
|
"reportUnknownVariableType": false,
|
|
"reportUnusedParameter": false
|
|
}
|
|
]
|
|
}
|