This repository has been created to give a python template project which includes pytest instructions.
Use pip or pip3 to install the dev requirements for the software testing:
pip install -r requirements_dev.txtFork this repository and clone your fork into your machine using:
git clone [email protected]:USERNAME/qd-starter-pack.gitenter to your project directory using:
cd qd-starter-packTo create a new branch from the main repository and work on a specific exercise (ex. ex1.py) you can use the following commands:
git checkout main
git checkout -b new-branch-nameFrom this step you can edit your ex1.py and make some commits using:
git add exercises/ex1.py
git commit -m 'feat: description'Use the Conventional Commits when you write a commit description.
Push the commits into GitHub using:
git push -u origin new-branch-nameAfterward, it is possible to create a Pull Request by going to your fork https://github.com/USERNAME/git-course-exercises.git clicking on "create Pull Request" or going to the right section "Pull Request" -> "New Pull Request".
If you want to work on another ex1.py, go to step 2️⃣.
Use git wisely.
Check this article to understand how to write "clean code" in python.
Feel free to improve this README with any other detail, if you do it, I'll be grateful.