Contributing¶
Preparing the development setup¶
Install Python 3.9
$ sudo add-apt-repository ppa:deadsnakes/ppa
$ sudo apt update
$ sudo apt install python3.9 python3.9-venv
Clone the repo, create and activate a new virtual environment
$ cd judge0-python
$ python3.9 -m venv venv
$ . venv/bin/activate
Install the library and development dependencies
$ pip install -e .[test]
$ pre-commit install