The current .pre-commit-config.yaml uses black, isort, pydocstyle and pylint. The other ArviZ repositories (arviz-base, arviz-stats) have already migrated to ruff and ruff-format. Migrating arviz-plots would bring it in line with the rest of the ecosystem.
This would involve:
- Replacing
black, isort, pydocstyle, pylint hooks with ruff and ruff-format in .pre-commit-config.yaml
- Adding [tool.ruff] configuration to
pyproject.toml
- Removing [tool.black], [tool.isort], [tool.pydocstyle] sections
- Removing
pylint from tox check dependencies
- Fixing any code style issues flagged by ruff
The current
.pre-commit-config.yamlusesblack,isort,pydocstyleandpylint. The other ArviZ repositories (arviz-base, arviz-stats) have already migrated toruffand ruff-format. Migrating arviz-plots would bring it in line with the rest of the ecosystem.This would involve:
black,isort,pydocstyle,pylinthooks with ruff and ruff-format in.pre-commit-config.yamlpyproject.tomlpylintfrom tox check dependencies