The basic idea of the project is to create a bot for groupme that lets people in a group setup meeting times. It will ask each person in the group what day/time he/she can meet on, then use a simple algo to find a good meeting time for everyone.
- Make sure you have pip (check version, current version is 9.0)
pip -V - Install all packages
pip install -r requirements.txt- Follow the PEP 8 standard when documenting your code
- Look for a python linting plugin/lib for your IDE/system
- Leave commit messages with helpful messages. Try to do a single subject line, followed by more descripiton
- Push to the right branch. Master is already locked so you need to do a pull request before merging into master
- Try to stick to the Git Workflow Details here
- Write good unit test cases, and cover at least the happy path
- We have Coverage.py for line coverage (shoot for 80% or so). The master branch will probably start rejecting anything below 80%
- Use the standard python Unittest
- Write your unit tests in the correct
test.pyfile under the correct app
- Running tests [go the right folder first]
python -m unittest test- Running coverage (see coverage of the repair folder for example)
coverage run --source=source_py_file -m unittest test - Then use this to generate the html and view the report in your browser
coverage html- To get style suggestions etc (if your IDE doesn't have a plugin)
pep8 python_file.py- To update all your branches
git pull --all
- To see your branches
git branch