File tree Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Expand file tree Collapse file tree 6 files changed +11
-14
lines changed Original file line number Diff line number Diff line change 11name : CI
2-
3- permissions :
4- contents : read
5- packages : read
2+ permissions : read-all
63
74on :
85 workflow_dispatch :
96 pull_request :
107 push :
11- branches :
12- - main
8+ branches : [main]
139
1410concurrency :
1511 group : ${{ github.workflow }}-${{ github.ref }}
7672
7773 - name : Test package
7874 run : >-
79- uv run pytest src docs tests -ra -- cov --cov-report=xml
75+ uv run pytest src docs tests -cov --cov-report=xml
8076 --cov-report=term --durations=20
8177
8278 - name : Upload coverage report
@@ -111,7 +107,7 @@ jobs:
111107
112108 - name : Test package
113109 run : >-
114- uv run pytest src docs tests -ra - -cov --cov-report=xml
110+ uv run pytest src docs tests --cov --cov-report=xml
115111 --cov-report=term --durations=20 --mpl
116112
117113 - name : Upload coverage report
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ version_tuple = {version_tuple!r}
139139 ]
140140
141141 [tool .ruff .lint .per-file-ignores ]
142- "tests/*.py" = [" ANN201" , " S101" ]
142+ "tests/*.py" = [" ANN201" , " D1 " , " S101" ]
143143
144144 [tool .ruff .lint .flake8-import-conventions ]
145145 banned-from = [" array_api_typing" ]
Original file line number Diff line number Diff line change 11"""Static typing support for the array API standard."""
22
3- __all__ = ["HasArrayNamespace" , "__version__" , "__version_tuple__" ]
3+ __all__ = (
4+ "HasArrayNamespace" ,
5+ "__version__" ,
6+ "__version_tuple__" ,
7+ )
48
59from ._namespace import HasArrayNamespace
610from ._version import version as __version__ , version_tuple as __version_tuple__
Original file line number Diff line number Diff line change 11"""Static typing support for the array API standard."""
22
3- __all__ = [ "HasArrayNamespace" ]
3+ __all__ = ( "HasArrayNamespace" ,)
44
55from types import ModuleType
66from typing import Protocol , final
Original file line number Diff line number Diff line change 1- """Tests."""
Original file line number Diff line number Diff line change 1- """Tests for the HasArrayNamespace protocol."""
2-
31from types import SimpleNamespace
42from typing import Protocol , runtime_checkable
53
You can’t perform that action at this time.
0 commit comments