-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Copy link
Labels
🔨 MaintenanceMaintenance and upkeep improvementsMaintenance and upkeep improvements🖱️ DXImprovements to the Developer ExperienceImprovements to the Developer Experience
Description
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:
- The developer tools were originally configured through separate files, so that it's easier to find their configuration (just open the corresponding file for each tool).
- Language navigation in TOML files seems not to be supported that well in VSCode. For instance, there is no way to navigate sections (e.g. with Ctrl+Shift+O).
- Flake8 does not yet support
pyproject.toml: pyproject.toml (PEP 518) support PyCQA/flake8#234 (comment). This issue is resolved, however, by Replaceflake8,isort,pydocstyle, andpylintwith Ruff #138
Requirements
- Switch to VSCode extension "Even Better Toml" #113
- Create pre-commit hook for TOML taplo formatter #117
- Replace
flake8,isort,pydocstyle, andpylintwith Ruff #138 - Merge
setup.cfgintopyproject.toml#157 - Support
taploconfiguration inpyproject.tomltamasfe/taplo#603 - Merge
tox.iniintopyproject.tomlwith legacy method #409
Reactions are currently unavailable
Sub-issues
Metadata
Metadata
Assignees
Labels
🔨 MaintenanceMaintenance and upkeep improvementsMaintenance and upkeep improvements🖱️ DXImprovements to the Developer ExperienceImprovements to the Developer Experience