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"
62
62
build-verbosity = 1
63
63
` ` `
64
64
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.
68
68
69
69
# # Making an SDist
70
70
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ def tests(session: nox.Session) -> None:
212
212
"""
213
213
Run the unit and regular tests.
214
214
"""
215
- session.install(".[test ]")
215
+ session.install(".[tests ]")
216
216
session.run("pytest", *session.posargs)
217
217
` ` `
218
218
<!-- prettier-ignore-end -->
Original file line number Diff line number Diff line change 1
1
from __future__ import annotations
2
2
3
- from typing import Any , Optional
3
+ from typing import Any
4
4
5
5
from . import mk_url
6
6
@@ -248,7 +248,7 @@ class PP310(PyProject):
248
248
url = mk_url ("pytest" )
249
249
250
250
@staticmethod
251
- def check (pyproject : dict [str , Any ]) -> Optional [ bool ] :
251
+ def check (pyproject : dict [str , Any ]) -> bool | None :
252
252
"""
253
253
254
254
Tests target should be `tests` not `test`
@@ -278,7 +278,7 @@ class PP311(PyProject):
278
278
url = mk_url ("pytest" )
279
279
280
280
@staticmethod
281
- def check (pyproject : dict [str , Any ]) -> Optinal [bool ]:
281
+ def check (pyproject : dict [str , Any ]) -> Optional [bool ]:
282
282
"""
283
283
284
284
docs target should be `docs` not `doc`
You can’t perform that action at this time.
0 commit comments