You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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.
Currently, most ComPWA repositories configure their developer tools through separate files. An example would be
.mypy.ini
andpytest.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 formypy
.Disadvantages:
pyproject.toml
: pyproject.toml (PEP 518) support PyCQA/flake8#234 (comment). This issue is resolved, however, by Replaceflake8
,isort
,pydocstyle
, andpylint
with Ruff #138Requirements
flake8
,isort
,pydocstyle
, andpylint
with Ruff repo-maintenance#138setup.cfg
intopyproject.toml
repo-maintenance#157taplo
configuration inpyproject.toml
tamasfe/taplo#603tox.ini
intopyproject.toml
with legacy method #409The text was updated successfully, but these errors were encountered: