Since we use isort and flake8 in addition to black for code formatting/linting, it makes sense to configure them s.th. they do not contradict the black settings. This is described here. By doing this, the order of calling isort/black should not matter anymore. Also, we can then simplify the flake8 calls in our Github Workflows.
[ ] for flake8, we have to add an additional file, since they do not support configuration in pyproject.toml. I would suggest adding a file .flake8 for this purpose.
Since we use
isort
andflake8
in addition toblack
for code formatting/linting, it makes sense to configure them s.th. they do not contradict theblack
settings. This is described here. By doing this, the order of calling isort/black should not matter anymore. Also, we can then simplify theflake8
calls in our Github Workflows.pyproject.toml
pyproject.toml
. I would suggest adding a file.flake8
for this purpose.