Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.51 KB

lab_06.md

File metadata and controls

55 lines (33 loc) · 1.51 KB

Lab 6

Slides in PDF format

You'll work in your Project teams.

Objectives

  • Try out linting
  • Set up continuous integration

Finishing Lab 5

  • Profiling
    • Find anything surprising/interesting/useful?
  • Data quality checks

Linting


  1. Install the ruff VSCode extension.
  2. Open up your Python files, you'll likely see some warnings.
    • Don't do anything with them yet.

Continuous integration

You're going to set up your tests and linting to run automatically.

This is one of those times where you'll follow instructions without necessarily knowing what's going on. You'll learn more about it in this week's reading.


Steps

  1. In a branch, add a copy of .github/workflows/tests.yml.
  2. Create a pull request.
  3. View the results of the Actions run.
  4. If the workflow is failing, review the errors and address them.

Submit

Submit the links to the pull request(s) via CourseWorks.