[+] improve pyright
This commit is contained in:
parent
e7bc75f0d8
commit
4da19bb053
4
deps/test-task-2025-06-30-v1/Makefile
vendored
4
deps/test-task-2025-06-30-v1/Makefile
vendored
@ -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)
|
||||
|
13
deps/test-task-2025-06-30-v1/pyproject.toml
vendored
13
deps/test-task-2025-06-30-v1/pyproject.toml
vendored
@ -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"]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user