Skip to content

Switch to pyproject.toml and Ruff for PEP 621/660#1573

Merged
Cleptomania merged 7 commits intodevelopmentfrom
pyproject-toml-ruff
Feb 23, 2023
Merged

Switch to pyproject.toml and Ruff for PEP 621/660#1573
Cleptomania merged 7 commits intodevelopmentfrom
pyproject-toml-ruff

Conversation

@Cleptomania
Copy link
Member

PEP 621/660 describes the switch to pyproject.toml for centralized project metadata, configuration, and build systems.

This PR removes setup.cfg and setup.py in favor of pyproject.toml.

One problem with completely consolidating everything in pyproject.toml is flake8's lack of support for the format. To remedy this, this PR also replaces flake8 with ruff. They are largely compatible, and most everyone shouldn't really notice much of a difference in using them. If we wanted to continue using flake8 instead, we would either need to keep the setup.cfg with the flake8 configuration, or add a .flake8 config file.

@Cleptomania Cleptomania merged commit cf578db into development Feb 23, 2023
@einarf einarf deleted the pyproject-toml-ruff branch February 24, 2023 14:29
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