forked from rapidsai/devcontainers
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Install pre-commit for cccl devcontainers (rapidsai#266)
* Install pre-commit for cccl devcontainers * bump cccl-dev feature version --------- Co-authored-by: ptaylor <[email protected]>
- Loading branch information
Showing
4 changed files
with
41 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
export LIT_VERSION="${LIT_VERSION}"; | ||
|
||
if [ -f "${USERHOME}/.local/share/venvs/cccl/bin/activate" ] \ | ||
&& [ -z "${VIRTUAL_ENV:-}" -o "${VIRTUAL_ENV}" != "${USERHOME}/.local/share/venvs/cccl" ]; then | ||
. "${USERHOME}/.local/share/venvs/cccl/bin/activate"; | ||
elif [ -n "${VIRTUAL_ENV_PROMPT:-}" ]; then | ||
if ! echo "${PS1:-}" | grep -qF "${VIRTUAL_ENV_PROMPT}"; then | ||
export PS1="${VIRTUAL_ENV_PROMPT}${PS1:-}"; | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters