File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/sp_repo_review/checks Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,9 @@ test-command = "pytest {project}/tests"
6262build-verbosity = 1
6363` ` `
6464
65- The `test-extras` will cause the pip install to use `[tests]`. The `test-command`
66- will use pytest to run your tests. You can also set the build verbosity (`-v` in
67- pip) if you want to.
65+ The `test-extras` will cause the pip install to use `[tests]`. The
66+ ` test-command ` will use pytest to run your tests. You can also set the build
67+ verbosity (`-v` in pip) if you want to.
6868
6969# # Making an SDist
7070
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ def tests(session: nox.Session) -> None:
212212 """
213213 Run the unit and regular tests.
214214 """
215- session.install(".[test ]")
215+ session.install(".[tests ]")
216216 session.run("pytest", *session.posargs)
217217` ` `
218218<!-- prettier-ignore-end -->
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- from typing import Any , Optional
3+ from typing import Any
44
55from . import mk_url
66
@@ -248,7 +248,7 @@ class PP310(PyProject):
248248 url = mk_url ("pytest" )
249249
250250 @staticmethod
251- def check (pyproject : dict [str , Any ]) -> Optional [ bool ] :
251+ def check (pyproject : dict [str , Any ]) -> bool | None :
252252 """
253253
254254 Tests target should be `tests` not `test`
@@ -278,7 +278,7 @@ class PP311(PyProject):
278278 url = mk_url ("pytest" )
279279
280280 @staticmethod
281- def check (pyproject : dict [str , Any ]) -> Optinal [bool ]:
281+ def check (pyproject : dict [str , Any ]) -> Optional [bool ]:
282282 """
283283
284284 docs target should be `docs` not `doc`
You can’t perform that action at this time.
0 commit comments