Skip to content

Bugfix, minor functional/internal changes, linting, formatting & packaging updates and GitHub action to run PR lint/typing tests - #10

Merged
JedMeister merged 12 commits into
turnkeylinux:masterfrom
JedMeister:minor-update
Jun 15, 2026
Merged

JedMeister merged 12 commits into
turnkeylinux:masterfrom
JedMeister:minor-update

Conversation

@JedMeister

@JedMeister JedMeister commented Jun 8, 2026 •

Copy link
Copy Markdown
Member

Sorry that this is such a large diff and the misleading branch name - it started fairly minor and grew...


Bugfix handling of --string argument.


Minimal functional/internal changes:

  • rootfs arg when initializing AppVer instance now defaults to None
  • AppVer.deb_codename is now a @property - now it only gather the info (via lsb_release) if/when deb_codename is explicitly accessed.

Linting, formatting and packaging updates. Significant code changes, but no functional change:

  • Update readme and migrate from .rst => .md
  • Remove legacy travis conf.
  • Update .gitignore to ignore common build assets and cached files
  • Update from setup.py => pyproject.toml python packaging
  • Include common ruff and mypy linting/typing rules in pyproject.toml.
  • Linting fixing and minor typing updates (to be compatible with new declared rules)
  • Include github action to run linting/typing checks for PRs
  • Update debian packaging:
    • Update standards version (4.0.0 => 4.7.2)
    • Update compat version (10 => 13) & declaration (compat file => debhelper-compat (= 13) dependency)
    • Update other dependencies; both to support pyproject.toml packaging and general modernization)
    • Bump python version (3.5 => 3.13) (probably still works with older versions...)
    • Extend long description
    • Update copyright file (format, license wording and copyright holder)

Added simple GitHub action to run typing and linting checks on future PRs.

@JedMeister
JedMeister requested a review from OnGle June 8, 2026 22:34
@JedMeister
JedMeister force-pushed the minor-update branch 2 times, most recently from 38598f0 to ddbc78f Compare June 8, 2026 23:22
@JedMeister JedMeister changed the title Minor update - general cleanup and non-functional updates Bugfix, minor functional/internal changes, linting, formatting & packaging updates and GitHub action to run PR lint/typing tests Jun 8, 2026
Comment thread pyproject.toml Outdated
Comment on lines +82 to +83
# allow use of "magic values" rather than enforcing use of constants
"PLR2004"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What's the justification for this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've removed the rule from pyproject.toml and added a noqa to the specific line : 711119d. Hopefully that answers your question and/or addresses your concern?!

@JedMeister

Copy link
Copy Markdown
Member Author

Adjustment as requested by @OnGle (hopefully?!). Plus:

  • readme spelling fix
  • removal of unused data
  • add release notes

@OnGle OnGle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm!

@JedMeister
JedMeister merged commit aca5749 into turnkeylinux:master Jun 15, 2026
@JedMeister
JedMeister deleted the minor-update branch June 15, 2026 03:28
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.

2 participants