[+] improve pyright

This commit is contained in:
Siarhei Siniak 2025-06-30 18:40:03 +03:00
parent e7bc75f0d8
commit 4da19bb053
2 changed files with 7 additions and 10 deletions

@ -29,4 +29,6 @@ venv:
-r requirements.txt
pyright:
$(ENV_PATH)/bin/python3 -m pyright -p pyproject.toml
$(ENV_PATH)/bin/python3 -m pyright \
-p pyproject.toml \
-v $(ENV_PATH)

@ -38,9 +38,8 @@ include = [
# 'follow_the_leader/**/*.py',
#'*.py',
# '*.recipe',
'*.py',
'online/**/*.py',
'online/**/*.pyi',
'python/**/*.py',
'python/**/*.pyi',
]
exclude = [
'.venv',
@ -97,15 +96,11 @@ include = [
#'../../../../../follow_the_leader/views2/payments.py',
#'../../../../../follow_the_leader/logic/payments.py',
#'../../../../../follow_the_leader/logic/paypal.py',
'online/fxreader/pr34/commands_typed/**/*.py',
'python/**/*.py',
'python/**/*.pyi',
]
# stubPath = '../mypy-stubs'
extraPaths = [
'.',
'../mypy-stubs',
'../mypy-stubs/types-debugpy',
'../mypy-stubs/marisa-trie-types',
# '../../../../../',
]
#strict = ["src"]