@@ -338,7 +338,7 @@ def docs_deploy(ctx: Context) -> None:
338338 with _material_insiders () as insiders :
339339 if not insiders :
340340 ctx .run (lambda : False , title = "Not deploying docs without Material for MkDocs Insiders!" )
341- ctx .run (tools .mkdocs .gh_deploy (), title = "Deploying documentation" )
341+ ctx .run (tools .mkdocs .gh_deploy (force = True ), title = "Deploying documentation" )
342342
343343
344344@duty
@@ -425,7 +425,7 @@ def release(ctx: Context, version: str = "") -> None:
425425 ctx .run ("false" , title = "A version must be provided" )
426426 ctx .run ("git add pyproject.toml CHANGELOG.md" , title = "Staging files" , pty = PTY )
427427 ctx .run (["git" , "commit" , "-m" , f"chore: Prepare release { version } " ], title = "Committing changes" , pty = PTY )
428- ctx .run (f"git tag { version } " , title = "Tagging commit" , pty = PTY )
428+ ctx .run (f"git tag -m '' -a { version } " , title = "Tagging commit" , pty = PTY )
429429 ctx .run ("git push" , title = "Pushing commits" , pty = False )
430430 ctx .run ("git push --tags" , title = "Pushing tags" , pty = False )
431431
@@ -448,11 +448,11 @@ def coverage(ctx: Context) -> None:
448448
449449
450450@duty (nofail = PY_VERSION == PY_DEV )
451- def test (ctx : Context , * cli_args : str , match : str = "" ) -> None : # noqa: PT028
451+ def test (ctx : Context , * cli_args : str ) -> None : # noqa: PT028
452452 """Run the test suite.
453453
454454 ```bash
455- make test [match=EXPR]
455+ make test
456456 ```
457457
458458 Run the test suite with [Pytest](https://docs.pytest.org/) and plugins.
@@ -461,14 +461,13 @@ def test(ctx: Context, *cli_args: str, match: str = "") -> None: # noqa: PT028
461461
462462 Parameters:
463463 *cli_args: Additional Pytest CLI arguments.
464- match: A pytest expression to filter selected tests.
465464 """
466465 os .environ ["COVERAGE_FILE" ] = f".coverage.{ PY_VERSION } "
466+ os .environ ["PYTHONWARNDEFAULTENCODING" ] = "1"
467467 ctx .run (
468468 tools .pytest (
469469 "tests" ,
470470 config_file = "config/pytest.ini" ,
471- select = match ,
472471 color = "yes" ,
473472 ).add_args ("-n" , "auto" , * cli_args ),
474473 title = _pyprefix ("Running tests" ),
0 commit comments