Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to pyproject, bump pyupgrade #542

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

asears
Copy link

@asears asears commented Dec 19, 2024

This PR uplifts the project a bit. ++ @carltongibson

  • Upgrade to pyproject.toml from setup.cfg and tox.ini
  • Add pytest-cov test coverage settings
  • bump pyupgrade version
  • Add workflow dispatch to allow for tests workflow to be called on demand
  • Add permissions to test workflow as per good security practice
  • Comment the gitignore, add coverage exclusions
  • Added some testing dependencies
  • Added some project URLs

This PR will need a test by someone familiar with the release process and review of the settings for pypi release.

Some further improvements could be made:

  • Add black, flake8, pytest, coverage, security scans to a build pipeline for inline visibility on pr/comments on prs.
  • Some flake8 & ruff warnings to adjust/address
  • One file needs format in the repo according to latest black.
  • If some contributors are testing builds with uv, requires an extra couple lines added to pyproject to allow a wheel build.
  • ruff could be added for future to replace need for isort, black, flake8, flake8-bugbear and autofix issues

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