Live, Learn, and Lung

  • Using GitHub Actions for Continuous Integration

    Continuous integration (CI) plays a vital role in software development. When you’ve completed a code module and wish to merge it into the main branch, it’s essential to ensure that the code adheres to the style guidelines and functions correctly. Since these validation steps are repetitive, automating the CI process can greatly reduce the time…

  • Ensuring Code Quality with pre-commit Hooks

    A hallmark of clean code is consistent formatting, which becomes important when collaborating in a team. While manually using formatters or linters to check code is possible, it’s easy to forget. A more effective approach is to use tools like pre-commit hooks for automated code inspection before committing. The code in this post is available…

  • Testing Functions with Localstack for Cloud Service Interactions

    In software development, it’s common to write functions that interact with cloud services. Instead of testing these functions against the actual cloud services, you can utilize Localstack to create local mock versions of these services. Therefore, you don’t need to test our functions against the real cloud services and alter the state of the real…

  • Using Docker to Run Your Python Tests

    Have you ever encountered the frustrating ‘It works on my machine’ problem? This is a common headache in software development. Docker containers provide a solution by packaging your code in a consistent environment. Because of this, Docker has become popular in many areas, especially for automating CI/CD pipelines. In this post, I’ll show you how…

  • Managing Project Dependencies with Poetry

    When building Python projects, we inevitably need to work with third-party packages. Most developers start with the familiar requirements.txt approach, but this method has its pitfalls. It’s all too common to install a new package and forget to update the requirements file. Even worse, when you look at your requirements.txt, it’s hard to distinguish between…

© Copyright 2025 Live, Learn, and Lung All rights reserved