CompEng0001/Pylings: v1.3.0
Description
v1.3.0
Atomic file-watching support on Windows, macOS, and Linux using
watchdog.- Watches parent directories to correctly detect "atomic save" operations.
- Debounce and file-settle logic prevents false triggers or partial reads.
- Optional
PollingObserverfallback for network, OneDrive, and WSL paths.
Python version guard (
sys.version_info >= 3.10) added at startup to warn users running outdated interpreters.Reworked
*.pyfor PEP-8 / pylint compliance:- Replaced broad
except Exceptionwith specific error classes (OSError,FileNotFoundError,TomlDecodeError, etc.). - Reduced class attribute counts to satisfy pylint R0902.
- Removed unused
exercise_keysfrom_update_list_row_at(self, idx: int, name: str, list_view, exercise_keys) constants.pyconfroms 100% now as the lambda forEXERCISE_ERRORhave been removed and insteadui.pyusedREDandRESET_LINK.
- Replaced broad
Logging initialisation now occurs before any module imports when
--debugis used, ensuring early debug output from static methods.Background
Timerthread exceptions no longer print tostderror overwrite the Textual TUI.Switching between completed exercises no longer produces duplicate or stale watch events.
Ensured consistent behaviour of
--debugflag (logs only active when explicitly enabled).General refactor and docstring improvements across
watcher.pyandtheme.py.Minor path-handling clean-ups and type hints for maintainability.
finish messages now is correctly triggered with complete_flag, when
update_execise_outputandcheck_all_exercises
Files
CompEng0001/Pylings-v1.3.0.zip
Additional details
Related works
- Is supplement to
- Software: https://github.com/CompEng0001/Pylings/tree/v1.3.0 (URL)
Software
- Repository URL
- https://github.com/CompEng0001/Pylings