[+] 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
|
-r requirements.txt
|
||||||
|
|
||||||
pyright:
|
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',
|
# 'follow_the_leader/**/*.py',
|
||||||
#'*.py',
|
#'*.py',
|
||||||
# '*.recipe',
|
# '*.recipe',
|
||||||
'*.py',
|
'python/**/*.py',
|
||||||
'online/**/*.py',
|
'python/**/*.pyi',
|
||||||
'online/**/*.pyi',
|
|
||||||
]
|
]
|
||||||
exclude = [
|
exclude = [
|
||||||
'.venv',
|
'.venv',
|
||||||
@ -97,15 +96,11 @@ include = [
|
|||||||
#'../../../../../follow_the_leader/views2/payments.py',
|
#'../../../../../follow_the_leader/views2/payments.py',
|
||||||
#'../../../../../follow_the_leader/logic/payments.py',
|
#'../../../../../follow_the_leader/logic/payments.py',
|
||||||
#'../../../../../follow_the_leader/logic/paypal.py',
|
#'../../../../../follow_the_leader/logic/paypal.py',
|
||||||
'online/fxreader/pr34/commands_typed/**/*.py',
|
'python/**/*.py',
|
||||||
|
'python/**/*.pyi',
|
||||||
]
|
]
|
||||||
# stubPath = '../mypy-stubs'
|
# stubPath = '../mypy-stubs'
|
||||||
extraPaths = [
|
extraPaths = [
|
||||||
'.',
|
|
||||||
'../mypy-stubs',
|
|
||||||
'../mypy-stubs/types-debugpy',
|
|
||||||
'../mypy-stubs/marisa-trie-types',
|
|
||||||
# '../../../../../',
|
|
||||||
]
|
]
|
||||||
#strict = ["src"]
|
#strict = ["src"]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user