Skip to content

Commit

Permalink
Update noxfile.py
Browse files Browse the repository at this point in the history
Co-authored-by: Maxwell G <[email protected]>
  • Loading branch information
oraNod and gotmax23 authored Mar 5, 2024
1 parent 915e5bb commit 32c8eea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def pip_compile(session: nox.Session, req: str):
# fmt: on

# Use --upgrade by default unless a user passes -P.
upgrade_related_cli_flags = "-P", "--upgrade-package", "--no-upgrade"
upgrade_related_cli_flags = ("-P", "--upgrade-package", "--no-upgrade")
has_upgrade_related_cli_flags = any(
arg.startswith(upgrade_related_cli_flags) for arg in session.posargs
)
Expand Down

0 comments on commit 32c8eea

Please sign in to comment.