Skip to content

Releases: CompEng0001/Pylings

V1.3.1

12 Jan 14:59

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.3.0...v1.3.1

v1.3.0

10 Nov 10:49

Choose a tag to compare

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 PollingObserver fallback for network, OneDrive, and WSL paths.
  • Python version guard (sys.version_info >= 3.10) added at startup to warn users running outdated interpreters.

  • Reworked *.py for PEP-8 / pylint compliance:

    • Replaced broad except Exception with specific error classes (OSError, FileNotFoundError, TomlDecodeError, etc.).
    • Reduced class attribute counts to satisfy pylint R0902.
    • Removed unused exercise_keys from _update_list_row_at(self, idx: int, name: str, list_view, exercise_keys)
    • constants.py confroms 100% now as the lambda for EXERCISE_ERROR have been removed and instead ui.py used RED and RESET_LINK.
  • Logging initialisation now occurs before any module imports when --debug is used, ensuring early debug output from static methods.

  • Background Timer thread exceptions no longer print to stderr or overwrite the Textual TUI.

  • Switching between completed exercises no longer produces duplicate or stale watch events.

  • Ensured consistent behaviour of --debug flag (logs only active when explicitly enabled).

  • General refactor and docstring improvements across watcher.py and theme.py.

  • Minor path-handling clean-ups and type hints for maintainability.

  • finish messages now is correctly triggered with complete_flag, when update_execise_output and check_all_exercises

v.1.2.2

26 Sep 13:24

Choose a tag to compare

What's Changed

  • fixed issue where dependencies drift - a silly oversight!
    • textual==2.1.2
    • psutil==7.0.0
    • watchdog==6.0.0
    • rich==13.9.4
    • toml==0.10.2

Full Changelog: v1.2.1...v1.2.2

v1.2.1

03 Jul 15:28

Choose a tag to compare

What's Changed

  • fix: issue where list and progress bar not updating as intended by @CompEng0001 in #10
    • Fix for list view not updating when not current exercise, was indexed exercise. Will also update entire list when called.
    • Progress bar updates with respect to DONE and PENDING correctly
    • Some extra logging

Full Changelog: v1.2.0...v1.2.1

v1.2.0

30 Jun 12:54

Choose a tag to compare

What's Changed

  • Fix f-string quote conflict and backslash escape for Python <3.12; Add None check for importlib.util.find_spec origin to avoid type errors by @youssefadly237 in #4
  • feat(theme): add dynamic theme support and theming config by @youssefadly237 in #5
  • mod: custom theme feature by @CompEng0001 in #7

Author Contributions

New Contributors

Full Changelog: https://github.com/CompEng0001/Pylings/blob/main/CHANGELOG.md

v1.1.2

01 May 17:02

Choose a tag to compare

Full Changelog: v1.1.1...v1.1.2

v1.1.1

21 Apr 16:42

Choose a tag to compare

v1.1.0

21 Apr 16:04

Choose a tag to compare

v1.0.5

21 Apr 10:01

Choose a tag to compare

Full Changelog: v1.0.4...v1.0.5