@@ -5,7 +5,6 @@ range of Python users and Python codebases. If you're trying a type
55checker on your Python code, your experience and what you can contribute
66are important to the project's success.
77
8-
98## The contribution process at a glance
109
11101 . [ Prepare your environment] ( #preparing-the-environment ) .
@@ -51,10 +50,10 @@ please refer to this
5150
5251Note that some tests require extra setup steps to install the required dependencies.
5352
54- ### Linux/Mac OS
53+ ### Linux/Mac OS/WSL
5554
5655On Linux and Mac OS, you will be able to run the full test suite on Python
57- 3.9, 3.10, or 3.11 .
56+ 3.9-3.12 .
5857To install the necessary requirements, run the following commands from a
5958terminal window:
6059
@@ -67,24 +66,22 @@ $ source .venv/bin/activate
6766
6867### Windows
6968
70- If you are using a Windows operating system, you will not be able to run the pytype
71- tests, as pytype
72- [ does not currently support running on Windows] ( https://github.com/google/pytype#requirements ) .
73- One option is to install
74- [ Windows Subsystem for Linux] ( https://docs.microsoft.com/en-us/windows/wsl/faq ) ,
75- which will allow you to run the full suite of tests. If you choose to install
76- WSL, follow the Linux/Mac OS instructions above.
77-
78- If you do not wish to install WSL, run the following commands from a Windows
79- terminal to install all non-pytype requirements:
69+ Run the following commands from a Windows terminal to install all requirements:
8070
8171``` powershell
8272> python -m venv .venv
83- > .venv\scripts \activate
73+ > .venv\Scripts \activate
8474(.venv) > pip install -U pip
8575(.venv) > pip install -r "requirements-tests.txt"
8676```
8777
78+ To be able to run pytype tests, you'll also need to install it manually
79+ as it's currently excluded from the requirements file:
80+
81+ ``` powershell
82+ (.venv) > pip install -U pytype
83+ ```
84+
8885## Code formatting
8986
9087The code is formatted using [ ` Black ` ] ( https://github.com/psf/black ) .
0 commit comments