{"version":"1.0","type":"rich","title":"Standard pre commit and isort, flake8 settings","description":"This example shows a standardized Python project configuration that enforces consistent code style through pre-commit hooks, isort, and flake8. The `.pre-commit-config.yaml` file orchestrates multiple git hooks, including Black for formatting, isort for import sorting, flake8 for linting, and mypy for type checking, all triggered on commit and push stages. The `.flake8` and `.isort.cfg` files specify matching rules like an 88-character line limit, while the Makefile defines an `rtestthat` local hook that runs R tests via `source(\"tests/testthat.R\")`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-a3294561f3beff8a3622cfeee245b094?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}