Skip to content

Move metadata from setup.cfg to pyproject.toml#736

Merged
hugovk merged 3 commits into
ultrajson:mainfrom
hugovk:setup.cfg-to-pyproject.toml
May 16, 2026
Merged

Move metadata from setup.cfg to pyproject.toml#736
hugovk merged 3 commits into
ultrajson:mainfrom
hugovk:setup.cfg-to-pyproject.toml

Conversation

@hugovk

@hugovk hugovk commented May 15, 2026

Copy link
Copy Markdown
Member
  • Move metadata from setup.cfg to pyproject.toml
  • Flake8 doesn't support pyproject.toml, so replace it and pyupgrade/isort with Ruff
  • Add a bit of extra linting and remove one unused

@hugovk hugovk added the changelog: Changed For changes in existing functionality label May 15, 2026
@codecov

codecov Bot commented May 15, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.58%. Comparing base (e9183ae) to head (e4afeb8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #736   +/-   ##
=======================================
  Coverage   92.58%   92.58%           
=======================================
  Files           7        7           
  Lines        2199     2199           
=======================================
  Hits         2036     2036           
  Misses        163      163           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bwoodsend

Copy link
Copy Markdown
Collaborator

Hmm, I'm really not a fan of ruff. Big binaries. New releases every 5 minutes. Not nice when you do most of your OSS stuff on the road like I do.

@hugovk hugovk force-pushed the setup.cfg-to-pyproject.toml branch from 0acb9bf to e4afeb8 Compare May 16, 2026 10:05
@hugovk

hugovk commented May 16, 2026

Copy link
Copy Markdown
Member Author

The version is pinned in .pre-commit-config.yaml and would only be updated every three months, but that's okay, I've dropped that commit so we're back on Flake8 and co.

@hugovk hugovk merged commit a90b329 into ultrajson:main May 16, 2026
29 checks passed
@hugovk hugovk deleted the setup.cfg-to-pyproject.toml branch May 16, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: Changed For changes in existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants