Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin virtualenv version in lint session #547

Merged
merged 1 commit into from
Dec 28, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
@@ -93,7 +93,9 @@ def cover(session):
@nox.session(python="3.9")
def lint(session):
"""Run pre-commit linting."""
session.install("pre-commit")
# Pin virtualenv for pre-commit run
# See https://github.com/theacodes/nox/issues/545
session.install("virtualenv==20.10.0", "pre-commit")
FollowTheProcess marked this conversation as resolved.
Show resolved Hide resolved
session.run(
"pre-commit", "run", "--all-files", "--show-diff-on-failure", *session.posargs
)