diff --git a/docs/docs/usage/advanced.md b/docs/docs/usage/advanced.md index 043c6c1162..8bd3b6bdad 100644 --- a/docs/docs/usage/advanced.md +++ b/docs/docs/usage/advanced.md @@ -80,12 +80,12 @@ os.environ.update({"PDM_IGNORE_SAVED_PYTHON": "1"}) @nox.session def tests(session): - session.run('pdm', 'install', '-G', 'test', external=True) + session.run_always('pdm', 'install', '-G', 'test', external=True) session.run('pytest') @nox.session def lint(session): - session.run('pdm', 'install', '-G', 'lint', external=True) + session.run_always('pdm', 'install', '-G', 'lint', external=True) session.run('flake8', '--import-order-style', 'google') ```