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

Merge developer configurations into pyproject.toml #98

Open
5 of 6 tasks
Tracked by #175
redeboer opened this issue Jan 22, 2023 · 1 comment · Fixed by #146
Open
5 of 6 tasks
Tracked by #175

Merge developer configurations into pyproject.toml #98

redeboer opened this issue Jan 22, 2023 · 1 comment · Fixed by #146
Assignees
Labels
🖱️ DX Improvements to the Developer Experience 🔨 Maintenance Maintenance and upkeep improvements

Comments

@redeboer
Copy link
Member

redeboer commented Jan 22, 2023

Currently, most ComPWA repositories configure their developer tools through separate files. An example would be .mypy.ini and pytest.ini. This makes the main directory of the repositories full of dot-files.

It would be better to merge all these configurations into one pyproject.toml (which is already there for e.g. black). Most developer tools support this, see e.g. here for mypy.

Disadvantages:

Requirements

  1. 3 of 3
    🖱️ DX
    redeboer
  2. 🖱️ DX
    redeboer
  3. 12 of 12
    🖱️ DX
    redeboer
  4. 11 of 12
    🔨 Maintenance
    redeboer
  5. 5 of 18
    🔨 Maintenance 🖱️ DX
    redeboer
@redeboer redeboer added 🔨 Maintenance Maintenance and upkeep improvements 🖱️ DX Improvements to the Developer Experience labels Jan 22, 2023
@redeboer redeboer self-assigned this Jan 22, 2023
@redeboer
Copy link
Member Author

redeboer commented Mar 7, 2023

Since PEP 660 (2021), pyproject.toml can replace setup.cfg and setup.py entirely. This does, however, require pip v21.3 in order to install the project in editable mode. However, see pypa/pip#10393 for potential problems with self-depend syntax.

@redeboer redeboer changed the title Merge developer configurations in pyproject.toml Merge developer configurations into pyproject.toml Oct 2, 2024
@redeboer redeboer reopened this Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🖱️ DX Improvements to the Developer Experience 🔨 Maintenance Maintenance and upkeep improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant