Skip to content

Conversation

@neutrinoceros
Copy link
Collaborator

  • MNT: move versioneer configuration to pyproject.toml
  • CLN: drop unused pytest configuration from setup.cfg
  • MNT: rename setup.cfg -> .flake8

@neutrinoceros neutrinoceros added the packaging Issues related to installing or building bottleneck label Dec 10, 2025
@neutrinoceros neutrinoceros changed the title MNT: remove \setup.cfg\" MNT: remove setup.cfg Dec 10, 2025
@neutrinoceros neutrinoceros marked this pull request as ready for review December 10, 2025 12:05
@rgommers
Copy link
Collaborator

Why is the pytest config unused? A quick skim of the docs says it's picked up: https://docs.pytest.org/en/7.1.x/reference/customize.html#setup-cfg

I'd put it in pytest.ini normally, but it does seem to be doing something.

@rdbisme
Copy link
Collaborator

rdbisme commented Dec 11, 2025

Maybe we want to decide if we want all things possile into pyproject.toml or in separate files. I'm more to go all in pyproject.toml (and move from flake8 to ruff)

@neutrinoceros
Copy link
Collaborator Author

Pytest doesn't compose configuration. pyproject.toml takes precedence over setup.cfg, so it's effectively ignored.

@neutrinoceros
Copy link
Collaborator Author

and move from flake8 to ruff

Happy to contribute this too in another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

packaging Issues related to installing or building bottleneck

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants