Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Commit 44a7f90

Browse files
committed
Update noxfile qa
1 parent bd7b7d7 commit 44a7f90

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,14 @@
3737

3838

3939
def activate_virtualenv_in_precommit_hooks(session: Session) -> None:
40-
"""Activate virtualenv in hooks installed by pre-commit.
40+
"""Activate virtualenv in hooks installed by pre-commit. # noqa
4141
4242
This function patches git hooks installed by pre-commit to activate the
4343
session's virtual environment. This allows pre-commit to locate hooks in
4444
that environment when invoked from git.
4545
4646
Args:
47+
-----
4748
session: The Session object.
4849
"""
4950
assert session.bin is not None # noqa: S101

0 commit comments

Comments
 (0)