1
0
Commit Graph

11 Commits

Author SHA1 Message Date
acaedcbd3a Fix code style and optimization issues
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 29s
Verify Python project can be installed, loaded and have version checked / Test (push) Failing after 26s
- Fix variable naming: TIME_COLUMN -> time_column, l -> components, COLUMNS -> columns
- Extract exception string literals to variables (EM101)
- Replace assert statements with proper error handling in obsidian_import
- Use dict.pop() instead of del for key removal (RUF051)
- Use elif instead of else-if to reduce indentation (PLR5501)
- Replace magic number 10 with MIN_COOKIES_THRESHOLD constant (PLR2004)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-25 00:27:33 +02:00
b79ea804b2 Replace assert statements with proper error handling
- Replace assert with ValueError in git_time_tracker/source/csv_file.py
- Replace assert with ValueError in git_time_tracker/source/git_repo.py
- Replace assert with TypeError in personal_data/util.py
- Fix isinstance call to use tuple for efficiency

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-25 00:22:06 +02:00
2087460a7f Fix ruff issues: remove unused variables and empty comments
- Remove empty comment in git_time_tracker/format/cli.py:61
- Remove unused max_title_parts in git_time_tracker/format/icalendar.py:28
- Remove unused max_title_parts in git_time_tracker/source/csv_file.py:14

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-25 00:21:11 +02:00
088cac75fc Ruff
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 29s
Verify Python project can be installed, loaded and have version checked / Test (push) Failing after 26s
2025-06-25 00:12:37 +02:00
d945fb81fb Remove debug prints 2025-06-15 23:15:47 +02:00
c226ac623c
Activity merging 2024-10-14 20:18:34 +02:00
72be664d82
Ruff
All checks were successful
Test Python / Test (push) Successful in 31s
2024-10-13 15:20:30 +02:00
477fce869d
Moved ActivitySample into personal_data 2024-10-13 15:20:18 +02:00
eb3518ba88
Renamed WorkSample to ActivitySample 2024-10-13 15:05:55 +02:00
f47daa3256
Merging git_time_tracker's advanced CSV parsing into personal_data 2024-10-13 15:04:18 +02:00
4f851b21b5
Merged git-time-tracker into personal-data
All checks were successful
Test Python / Test (push) Successful in 31s
2024-10-13 14:32:51 +02:00