File tree 2 files changed +30
-52
lines changed 2 files changed +30
-52
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### Configuring python environment
6
6
7
- The project requires python version 3.8 +. To set it as default in the environment run the following commands:
7
+ The project requires Python version 3.7 +. To set it as default in the environment run the following commands:
8
8
9
- ``` bash
10
- python3.8 -m venv env
9
+ ``` sh
10
+ python -m venv env
11
11
source ./env/bin/activate
12
12
```
13
13
14
14
Install required dependencies:
15
15
16
- ``` bash
16
+ ``` sh
17
17
python -m pip install --upgrade pip wheel
18
18
pip install -r local-requirements.txt
19
- pip install -e .
19
+ ```
20
+
21
+ Build and install drivers:
22
+
23
+ ``` sh
24
+ pip install -e.
20
25
python setup.py bdist_wheel
21
26
```
22
27
28
+ Run tests:
29
+
30
+ ``` sh
31
+ pytest
32
+ ```
33
+
34
+ Checking for typing errors
35
+
36
+ ``` sh
37
+ mypy playwright
38
+ ```
39
+
40
+ Format the code
41
+
42
+ ``` sh
43
+ pre-commit install
44
+ pre-commit run --all-files
45
+ ```
46
+
23
47
For more details look at the [ CI configuration] ( ./blob/master/.github/workflows/ci.yml ) .
24
48
25
49
### Regenerating APIs
@@ -31,7 +55,7 @@ pre-commit run --all-files
31
55
32
56
## Contributor License Agreement
33
57
34
- This project welcomes contributions and suggestions. Most contributions require you to agree to a
58
+ This project welcomes contributions and suggestions. Most contributions require you to agree to a
35
59
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
36
60
the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com .
37
61
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments