GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — playwright-python/CONTRIBUTING.md at main · reed6868/playwright-python

Expand file tree

/

CONTRIBUTING.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
78 lines (54 loc) · 1.95 KB
/

CONTRIBUTING.md

Copy path

File metadata and controls

78 lines (54 loc) · 1.95 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Contributing

How to Contribute

Configuring python environment

The project development requires Python version 3.9+. To set it as default in the environment run the following commands:

# You may need to install python 3.9 venv if it's missing, on Ubuntu just run `sudo apt-get install python3.9-venv`
python3.9 -m venv env
source ./env/bin/activate

Install required dependencies:

python -m pip install --upgrade pip
pip install -r local-requirements.txt

Build and install drivers:

pip install -e .
python -m build --wheel

Run tests:

pytest --browser chromium

Checking for typing errors

mypy playwright

Format the code

pre-commit install
pre-commit run --all-files

For more details look at the CI configuration.

Collect coverage

pytest --browser chromium --cov-report html --cov=playwright
open htmlcov/index.html

Regenerating APIs

./scripts/update_api.sh
pre-commit run --all-files

Contributor License Agreement

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.