Skip to content

Commit

Permalink
[DOC] Support python3 venv creation
Browse files Browse the repository at this point in the history
In python3 there is no `virtualenv`. python2 is EOL. The venv directive should consider python3 first.
  • Loading branch information
look4regev committed Mar 7, 2020
1 parent 8a43ec4 commit c58b7e8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 5 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Contributing to Bandit
Thanks for considering to take part in the improvement of Bandit project, contributions are always welcome!
Thanks for considering to take part in the improvement of the Bandit project, contributions are always welcome!
Here are guidelines and rules that can be helpful if you plan to want to get involved in the project.

#### Table Of Contents
Expand All @@ -13,14 +13,17 @@ Here are guidelines and rules that can be helpful if you plan to want to get inv
* [Commit Message Guidelines](#commit-message-guidelines)
* [Squash Commits](#squash-commits)
* [Things You Should Know Before Getting Started](#things-you-should-know-before-getting-started)
* [Vulnerability Tests](#vulnerability-tests)
* [Writing Tests](#writing-tests)
* [Extending Bandit](#extending-bandit)

## Code of Conduct
Everyone who participates in this project is governed by [Bandit Code of Conduct](https://github.com/Glyphack/bandit/blob/master/CODE_OF_CONDUCT.md#contributor-covenant-code-of-conduct).

## Reporting Bugs
If you encountered a bug and want to let us know use [GitHub issues](https://guides.github.com/features/issues/).

**Before submitting a new issue** you might want to check [existsing issue](https://github.com/PyCQA/bandit/issues) to know if there is already a reported issue and the issue is still open
**Before submitting a new issue** you might want to check [existing issue](https://github.com/PyCQA/bandit/issues) to know if there is already a reported issue and the issue is still open,
in that case you can add a comment to the existing issue instead of creating a new one.

### Submitting your first issue
Expand Down
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ Bandit is distributed on PyPI. The best way to install it is with pip:
Create a virtual environment (optional)::

virtualenv bandit-env
# Or if you're working with a Python 3 project
python3 -m venv bandit-env
# And activate it:
source bandit-venv/bin/activate

Install Bandit::

Expand Down

0 comments on commit c58b7e8

Please sign in to comment.