You'll work in your Project teams.
Level up your Project repository. This includes:
- Linting
- Continuous integration
- Data validation
- A type of static analysis
- Code quality
- We'll be starting with ruff.
Add the ruff configuration from this repository to yours.
This is a starting place; you're welcome to adapt it as you go.
- Install the ruff VSCode extension.
- Open up your Python files, you'll likely see some warnings.
- Don't do anything with them yet.
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.
- In a branch, add a copy of
.github/workflows/tests.yml. - Create a pull request.
- View the results of the Actions run.
- If the workflow is failing, review the errors and address them.
We'll be using Pandera. Write data validations for all variables (columns) of interest across your datasets. (Should probably be fewer than 20.)
- What assumptions are you making about the data that you'd want to validate going forward?
Submit links to the pull request(s) via CourseWorks.