Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

quality-control-workshop-2024

Quality Control for Python Applications - Mega Workshop

Description: Improve the maintainability and quality of your code. Attendees will become familiar with code modularity and organization principles, as well as quality control methods such as automated testing and continuous integration.

Required Software:

  • GitHub Desktop (requires a GitHub account)
  • VS Code Text Editor
  • Anaconda
  • Command Line Application (Terminal on Mac, Git Bash on Windows)

Part 1: Refactoring Python Applications

Learning Objectives:

  1. Translate code from a Python notebook into a local development repository.
  2. Identify areas in code that can be simplified for improved readability and maintainability.
  3. Refactor code by simplifying complex logic and removing duplication.
  4. Discuss code organization concepts such as the single responsibility principle, and the DRY principle.
  5. Organize code into modules to enhance scalability and maintainability, and practice importing code across multiple files.
  6. Use automated tools such as Code Climate to perform automated assessments of code complexity and maintainability.

Part 2: Testing Python Applications

Learning Objectives:

  1. Discuss the benefits of implementing automated tests in a software development project.
  2. Write automated tests for Python applications.
  3. Execute automated tests locally using the pytest package.
  4. Execute automated tests on a Continuous Integration server, using a GitHub Actions workflow.

Releases

Packages

Contributors

Languages