Conversation
|
Our project's CI has used and configured flake8 for years, and never did it complain about extra string indentation. I'm sure we could configure `ruff format` to not complain about the strings as well.
|
|
Let's drop flake8 so we can get pre-commit in place. |
|
Please read the first few paragraphs of the README of https://github.com/psf/black |
Apparently it's not verified in the marketplace. I should've noticed that no tests were run. The workflow's page also says it's in maintenance-only mode and suggests "generally you want to use pre-commit.ci which is faster and has more features." which is an entirely separate GitHub app. @cclauss, I'm assuming you can't disable whatever repo setting that's causing the workflow verification requirement either? Should we just remove the pre-commit CI and just have tox run pre-commit instead? Also, I've thought about it a bit, and I no longer object to the removal of extra string indentation. |
https://pre-commit.com
%
pipx install pre-commit# oruv tool install pre-commit%
pre-commit install%
pre-commit autoupdate%
pre-commit run --all-files%
git commit -am"Add pre-commit"