Repository navigation
Conversation
…e QoL - Swap markdownlint/mdformat for panache (panache-cli dev dep, panache.toml, jolars/panache-pre-commit hooks, jolars.panache VS Code extension) - Add src/project_name package with uv_build build backend - Add tests/ with pytest + pytest-cov; run tests in CI - Move dev deps to PEP 735 [dependency-groups]; declare sqlfluff - Rework Justfile: grouped recipes, default list, test/check-all recipes, fix broken activate-venv (uv shell) and Windows clean - Add minimal Quarto scaffold in docs/ - Rename pre-commit workflow to ci.yml with pre-commit + tests jobs Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Resolves open Dependabot alerts for certifi, filelock, pillow, soupsieve, tornado, and virtualenv. Co-Authored-By: Claude <noreply@anthropic.com>
Add the zizmor pre-commit hook and fix its findings: - pin all actions to commit SHAs (Dependabot keeps them current) - set persist-credentials: false on every checkout - default workflow permissions to read-only - add a 7-day Dependabot cooldown on all ecosystems - switch Dependabot Python ecosystem from pip to uv to track uv.lock Co-Authored-By: Claude <noreply@anthropic.com>
Resolve conflicts in favour of this branch (panache replaces markdownlint-cli2, so drop .markdownlint.yaml and its Justfile recipes). Keep main's nbdev-clean hook, bumped to 3.3.38. Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Summary 🚀
What does this PR do? 📝
Modernizes the template's tooling, project layout, and CI:
panache.toml, pre-commit hooks,jolars.panacheVS Code extension) and applies a one-time panache format to existing markdown files. Removes.markdownlint.yaml.src/project_namepackage built withuv_build, plustests/with pytest and pytest-cov.[dependency-groups]and declaressqlfluff. Runsjust update-reqsto upgradeuv.lockand the pre-commit hook versions.test,test-cov, andcheck-all, and fixes Windowsclean. Drops the brokenactivate-venvrecipe and keeps aliases for the old recipe names.docs/.pre-commit.ymlwithci.yml, which runs pre-commit and tests as separate jobs.persist-credentials: false, and the workflow token is read-only (contents: read).piptouvso it tracksuv.lock, and adds a 7-day cooldown on all ecosystems.Why is this change needed? 🤔
main(certifi [critical], filelock, pillow, soupsieve, tornado, virtualenv). The lockfile now resolves each package to its patched version or later, so the alerts should close when this PR merges.ipa-stata-template, which already uses panache, zizmor, and the same Justfile/CI patterns.main.How was this implemented? 🛠️
just update-reqs(uv lock --upgrade,uv sync,pre-commit autoupdate).chore/zizmorbranch ofipa-stata-template.maininto this branch. Conflicts were resolved in favour of this branch, since panache supersedes markdownlint. The one exception ismain'snbdev-cleanhook, which is kept and bumped to 3.3.38.How to test or reproduce ? 🧪
just venv just check-all # lint, format check, tests, all pre-commit hooks uv run pre-commit run zizmor --all-filesScreenshots (if applicable) 📷
N/A
Checklist ✅
uv.lock; the hand-written changes are well under 1,000 linesReviewer Emoji Legend
:code::smiley::+1::100:...and I want the author to know it! This is a way to highlight positive parts of a code review.
:star: :star: :star:And I am providing reasons why it needs to be addressed as well as suggested improvements.
:star: :star:And I am providing suggestions where it could be improved either in this PR or later.
:star:...and consider this a suggestion, not a requirement.
:question:This should be a fully formed question with sufficient information and context that requires a response.
:memo::pick:This does not require any changes and is often better left unsaid. This may include stylistic, formatting, or organization suggestions and should likely be prevented/enforced by linting if they really matter
:recycle:Should include enough context to be actionable and not be considered a nitpick.