Reword the comments in the config files
Each comment is one sentence or two short ones joined by "=>", without a final period.
This commit is contained in:
parent
bca4250b4d
commit
51f68743e5
1 changed files with 11 additions and 18 deletions
11
noxfile.py
11
noxfile.py
|
|
@ -299,9 +299,8 @@ def test_code(session: nox.Session) -> None:
|
|||
session.run("pytest", "--version")
|
||||
|
||||
pytest_default_args = (
|
||||
# See "[tool.coverage]" in pyproject.toml for `coverage` settings,
|
||||
# for example, branch coverage and report format,
|
||||
# and "[tool.coverage.paths]" mapping `coverage` to src/
|
||||
# See "[tool.coverage]" in pyproject.toml for the branch coverage,
|
||||
# the report format, and the mapping to src/
|
||||
"--cov",
|
||||
"--no-cov-on-fail",
|
||||
"--cov-fail-under=100",
|
||||
|
|
@ -478,10 +477,8 @@ def lock_dependencies(session: nox.Session) -> None:
|
|||
"""
|
||||
do_not_accept_arguments(session)
|
||||
|
||||
# Little hack: Create a flag in the env(ironment)
|
||||
# and call `upgrade_dependencies()` directly
|
||||
# because `session.notify()` starts sessions with a new
|
||||
# `nox.Session` object that does not have the flag set
|
||||
# `session.notify()` would start a new `nox.Session` without the flag
|
||||
# => Set the flag in the env(ironment) and call `upgrade_dependencies()` directly
|
||||
session.env["_lock_only"] = "true"
|
||||
|
||||
upgrade_dependencies(session)
|
||||
|
|
|
|||
Loading…
Reference in a new issue