From the course: Managing Python Projects
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Solution: Implement features - Python Tutorial
From the course: Managing Python Projects
Solution: Implement features
(energetic music) - [Instructor] We start by going to the issues tab and clicking on your issue. Let's say create sentencize function. And here we write a description. Create a sentencize[text] function that will split text to sentences. Splits on the dot, exclamation mark, and question mark. I can have a look at the preview. This looks nice. I will assign it to myself. And I will submit a new issue. This is issue number six. So now I can go to my code and git checkout -b issue/6-sentencize and now I'm writing my code. Adding new code, changing code. For example here, I'm going to add the new code for sentencize and save the file. I can do git status to check and see that I have one modified file, and two new file. Before I'm going to commit, I'm going to run the tests. And once the tests are passing, I can do git add nlp init nlp, sentences, and test, test. And sentences. And then I do git commit -m add…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.