Skip to content

Commit

Permalink
env: fix spelling error and check in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii authored and gaborbernat committed Mar 2, 2022
1 parent cab39f8 commit 5d711b4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .pre-commit-config.yaml
Expand Up @@ -40,3 +40,8 @@ repos:
- id: flake8
additional_dependencies: ["flake8-bugbear == 20.1.4"]
language_version: python3.9
- repo: https://github.com/codespell-project/codespell
rev: "v2.1.0"
hooks:
- id: codespell
args: ["-L", "sur"]
4 changes: 2 additions & 2 deletions src/build/env.py
Expand Up @@ -260,9 +260,9 @@ def _create_isolated_env_venv(path: str) -> Tuple[str, str]:

import packaging.version

simlinks = _fs_supports_symlink()
symlinks = _fs_supports_symlink()
try:
venv.EnvBuilder(with_pip=True, symlinks=simlinks).create(path)
venv.EnvBuilder(with_pip=True, symlinks=symlinks).create(path)
except subprocess.CalledProcessError as exc:
raise build.FailedProcessError(exc, 'Failed to create venv. Maybe try installing virtualenv.') from None

Expand Down

0 comments on commit 5d711b4

Please sign in to comment.