Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3ff133c

Browse files
ModischFabricationsasottile
authored andcommitted
add instructions to activate virtualenvs on windows
1 parent bcff73c commit 3ff133c

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ This is useful for running specific tests. The easiest way to set this up
1717
is to run:
1818

1919
1. `tox --devenv venv` (note: requires tox>=3.13)
20-
2. `. venv/bin/activate`
20+
2. `. venv/bin/activate` (or follow the [activation instructions] for your
21+
platform)
2122

2223
This will create and put you into a virtualenv which has an editable
2324
installation of pre-commit. Hack away! Running `pre-commit` will reflect
@@ -144,3 +145,5 @@ This is usually the easiest to implement, most of them look the same as the
144145
`node` hook implementation:
145146

146147
https://github.com/pre-commit/pre-commit/blob/160238220f022035c8ef869c9a8642f622c02118/pre_commit/languages/node.py#L72-L74
148+
149+
[activation instructions]: https://virtualenv.pypa.io/en/latest/user_guide.html#activators

0 commit comments

Comments
 (0)