So you want to help out? Awesome. Go you!
We use GitHub. To get started I'd suggest visiting https://guides.github.com/
Please make sure you system has the following:
- Python 3.6.0 or greater
- git cli client
Also ensure you can authenticate with GitHub via SSH Keys or HTTPS.
Lets now cd to where we want the code and clone the repo:
Remember to fork the repo for your PR via the UI or other means (cli).
cd somewhere
git clone git@github.com:YOUR_USERNAME/flake8-bugbear.git
One way to develop and install all the dependencies is to use a venv.
- Lets create one and upgrade
pip
python3 -m venv /path/to/venv
/path/to/venv/bin/pip install --upgrade pip setuptools wheel
- Then we install flake8-bugbear with the dev dependencies
cd flake8-bugbear
/path/to/venv/bin/pip install -e .[dev]
flake8-bugbear uses coverage to run standard unittest tests.
/path/to/venv/bin/coverage run tests/test_bugbear.py
We also format with black. Please ensure you black
format your PR.
/path/to/venv/bin/black .