From 34b3848b1ab6dae2eabc3c35cf8a0008e1e79ed4 Mon Sep 17 00:00:00 2001 From: Avtandil Kikabidze Date: Mon, 30 Oct 2017 15:52:48 +0400 Subject: [PATCH] Update gitignore and contributing notes --- .gitignore | 1 + CONTRIBUTING.md | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index f3081ab..39c6e15 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ .fuse_* .idea/ .cache +env_py3/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 32eb739..146232a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -11,6 +11,14 @@ or your own fork. If you do this, you can run the following commands to check if Which should give you no failures or errors. You can ignore any skipped tests as these are for external tools. +If you have installed python 2 and 3 versions together, its recommended to use virtualenv: + +1. Install virtualenv `sudo apt install python3-virtualenv` +2. Create a virtualenv for python3 `virtualenv --python=python3 env_py3` +3. Activate the virtualenv `source ./env_py3/bin/activate` +4. Install pytest `pip install pytest` +5. Now using this virtualenv try to run tests + Pushing -------