File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,10 @@ jobs:
2121 pip install -e ".[dev,faiss]"
2222 - name : Run EKFAC tests that work without GPU
2323 run : pytest -sv tests/ekfac_tests
24- # TODO: run pyright on whole codebase
25- - name : Type Checking bergson/hessians
24+ - name : Type Checking
2625 uses : jakebailey/pyright-action@v1
2726 with :
2827 version : 1.1.406
29- working-directory : bergson/hessians
30- - name : Type Checking tests/ekfac_tests
31- uses : jakebailey/pyright-action@v1
32- with :
33- version : 1.1.406
34- working-directory : tests/ekfac_tests
3528 - name : build
3629 run : pip wheel --no-deps -w dist .
3730env :
Original file line number Diff line number Diff line change @@ -40,7 +40,14 @@ faiss = [
4040bergson = " bergson.__main__:main"
4141
4242[tool .pyright ]
43- include = [" bergson*" ]
43+ include = [" bergson*" , " tests/ekfac_tests" ]
44+ # # Temporary excludes before we merge ekfac into the main branch
45+ exclude = [
46+ " bergson/attributor.py" ,
47+ " bergson/collection.py" ,
48+ " bergson/gradients.py" ,
49+ " bergson/utils.py" ,
50+ ]
4451reportPrivateImportUsage = false
4552
4653[tool .setuptools .packages .find ]
You can’t perform that action at this time.
0 commit comments