Skip to content

feat: Modernize the project#6

Open
C0rn3j wants to merge 1 commit into
vpelletier:masterfrom
C0rn3j:modernize
Open

feat: Modernize the project#6
C0rn3j wants to merge 1 commit into
vpelletier:masterfrom
C0rn3j:modernize

Conversation

@C0rn3j

@C0rn3j C0rn3j commented Jul 20, 2026

Copy link
Copy Markdown
  • Migrate from setup.py to pyproject.toml
  • Add Ruff config to pyproject.toml - this is extra, doesn't hurt anything, I used Ruff to help with this PR
  • Use SDPX convention for the license
  • Add license header to the Python file
  • Add typing (hopefully all typing is correct)
    • Use the NamedTuple class from typing instead of collections.namedtuple
  • Fix function descriptions - don't say we're returning bytes/binary when outputting a string and vice versa
  • Stop shadowing Python's len
  • Target Python 3.10+ (oldest version still supported by upstream)
  • Bump project version to 1.3

Please tag a release after pulling

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.

1 participant