Working on PyDigger with Upasana Shukla
In this live pair programming session Upasana Shukla and myself were working on the PyDigger project.
- 0:00 Hello, showing dev.pydigger.com that was a temporary place for the Docker based setup.
- 1:50 Docker compose
- 4:00 Issues. Explaining flake8 and mypy.
- 6:25 Decide on Driver-Navigator again; Setting up the Python virtual environment again.
- 10:08 Looking at the the CI (GitHub Actions) to see how we run the tests
- 12:00 Running the tests with the flake8 flag and running through the issues.
- 17:00 Using a variable that does not exist. Digging through git history understanding what we did last time.
- 24:30 Development configuration (dev.yml)
- 30:45 Using git stash and then git checkout older version to find how we broke the code. Upasana showing her total control of git.
- 40:06 We found the bug. Now let's check it and the clean up more of the issues reported by flake8.
- 47:30 Add flake8 testing to the CI system as well.
- 49:00 Looking at the flake8 configuration in setup.cfg and explaining about them.
- 50:44 How Gabor likes to indent code
- 55:10 Explain about sys.path
- 1:01:15 The stats page is broken. Explaining why.
- 1:02:28 Buy my books and support my work!
- 1:04:15 Getting back to the flake8 ticket collecting this information about all the projects.
- 1:07:40 Telling about the idea of showing the images (gravatars) of all the authors of the packages.
- 1:11:10 Flake8 it is
- 1:12:20 Explaining __name__ == '__main__'
- 1:16:50 Adding logging
- 1:36:20 Now that we know how to use the myflake8 module we can start thinking how to run it on the source code of other projects.
- 1:37:30 Download a zip file using requests to a temporary directory and then unzip it.
- 1:56:30 Wrapping up
Published on 2021-05-24
If you have any comments or questions, feel free to post them on the source of this page in GitHub. Source on GitHub.
Comment on this post