Skip to content

Comments

Feature/6 scaffold extractpy to download kaggle dataset#23

Merged
MmelIGaba merged 6 commits intomainfrom
feature/6-scaffold-extractpy-to-download-kaggle-dataset
Nov 7, 2025
Merged

Feature/6 scaffold extractpy to download kaggle dataset#23
MmelIGaba merged 6 commits intomainfrom
feature/6-scaffold-extractpy-to-download-kaggle-dataset

Conversation

@boipelo-codes
Copy link
Collaborator

No description provided.

@boipelo-codes boipelo-codes linked an issue Nov 7, 2025 that may be closed by this pull request
MmelIGaba

This comment was marked as outdated.

@MmelIGaba MmelIGaba self-requested a review November 7, 2025 11:12
Copy link
Owner

@MmelIGaba MmelIGaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work so far:

  • Excellent use of os.makedirs(..., exist_ok=True) for directory safety.
  • Logging is correctly set up with timestamps and severity levels.
  • Clear messaging when CSV files are missing.
  • Good separation of logic into a function (ensure_raw_csv_exists).
  • Kaggle dataset link is helpful for users to recover missing data.

Recommendations:
Fix python lint test:

Run flake8 Back-End/etl/
Back-End/etl/extract.py:21:1: E302 expected 2 blank lines, found 1
Back-End/etl/extract.py:43:1: E305 expected 2 blank lines after class or function definition, found 1
Error: Process completed with exit code 1.

Please mention that this closes issue #6

Copy link
Owner

@MmelIGaba MmelIGaba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Time pressed, merging. We will worry about linting in future PRs. Will try to fix this in my next push. Great job so far.

@MmelIGaba
Copy link
Owner

Closes #6

@MmelIGaba MmelIGaba merged commit 33d59c6 into main Nov 7, 2025
2 of 5 checks passed
@MmelIGaba MmelIGaba deleted the feature/6-scaffold-extractpy-to-download-kaggle-dataset branch November 7, 2025 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scaffold extract.py

2 participants