You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/CONTRIBUTING.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,10 +41,17 @@ The official tag is `python-attrs` and helping out in support frees us up to imp
41
41
42
42
You can (and should) run our test suite using [*tox*].
43
43
However, you’ll probably want a more traditional environment as well.
44
-
We highly recommend to develop using the latest Python release because we try to take advantage of modern features whenever possible.
45
-
Also, running [*pre-commit*] later on will require the latest Python version.
46
44
47
-
First [fork](https://github.com/python-attrs/attrs/fork) the repository on GitHub.
45
+
First, create a [virtual environment](https://virtualenv.pypa.io/) so you don't break your system-wide Python installation.
46
+
We recommend using the Python version from the `.python-version` file in project's root directory.
47
+
48
+
If you're using [*direnv*](https://direnv.net), you can automate the creation of a virtual environment with the correct Python version by adding the following `.envrc` to the project root after you've cloned it to your computer:
49
+
50
+
```bash
51
+
layout python python$(cat .python-version)
52
+
```
53
+
54
+
Then, [fork](https://github.com/python-attrs/attrs/fork) the repository on GitHub.
0 commit comments