Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 25, 2023
1 parent e8af583 commit 6f850ae
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tox/tox_env/python/pip/pip_install.py
Expand Up @@ -134,7 +134,9 @@ def _install_requirement_file(self, arguments: PythonDeps, section: str, of_type
if missing_requirement:
raise Recreate(f"requirements removed: {' '.join(missing_requirement)}")
if old.get("constraint_options") != constraint_options:
msg = f"constraint options changed: old={old.get('constraint_options')} new={constraint_options}"
msg = (
f"constraint options changed: old={old.get('constraint_options')} new={constraint_options}"
)
raise Recreate(msg)
args = arguments.as_root_args
if args: # pragma: no branch
Expand Down

0 comments on commit 6f850ae

Please sign in to comment.