python bindings: typing fixes, misc fixes (#1131)

* python: do not mutate locals()

* python: fix (some) typing complaints

* python: queue sentinel need not be a str

* python: make long inference tests opt in
This commit is contained in:
Aaron Miller
2023-07-03 18:30:24 -07:00
committed by GitHub
parent 01bd3d6802
commit 6987910668
3 changed files with 31 additions and 20 deletions

View File

@@ -25,4 +25,7 @@ isort:
source env/bin/activate; isort --ignore-whitespace --atomic -w 120 gpt4all
test:
source env/bin/activate; pytest -s gpt4all/tests -k "not test_inference_long"
test_all:
source env/bin/activate; pytest -s gpt4all/tests