@@ -65,7 +65,7 @@ def _load_script_block(content: str, /) -> dict[str, Any]:
6565
6666def noxfile (root : Traversable ) -> NoxfileInfo | None :
6767 """
68- Returns the shabang line (or empty string if missing), the noxfile script block, and the AST of the noxfile.py.
68+ Returns the shebang line (or empty string if missing), the noxfile script block, and the AST of the noxfile.py.
6969 Returns None if noxfile.py is not present.
7070 """
7171
@@ -114,7 +114,7 @@ class NOX102(Noxfile):
114114 "Sets venv backend"
115115
116116 @staticmethod
117- def check (noxfile : NoxfileInfo | None | None ) -> bool | None :
117+ def check (noxfile : NoxfileInfo | None ) -> bool | None :
118118 """
119119 The default venv backend should be set, ideally to `uv|virtualenv`:
120120
@@ -194,7 +194,7 @@ class NOX202(Noxfile):
194194 @staticmethod
195195 def check (noxfile : NoxfileInfo | None ) -> bool | None :
196196 """
197- You should have a shabang line at the top of your noxfile.py, for example:
197+ You should have a shebang line at the top of your noxfile.py, for example:
198198
199199 ```python
200200 #!/usr/bin/env -S uv run --script
@@ -235,7 +235,7 @@ def check(noxfile: NoxfileInfo | None) -> bool | None:
235235
236236
237237def repo_review_checks (
238- list_all : bool = True , noxfile : tuple [ str , dict [ str , Any ], ast . Module ] | None = None
238+ list_all : bool = True , noxfile : NoxfileInfo | None = None
239239) -> dict [str , Noxfile ]:
240240 if not list_all and noxfile is None :
241241 return {}
0 commit comments