Skip to content

⬆️ Bump QuantEcon/action-style-guide from 0.5 to 0.7#340

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/QuantEcon/action-style-guide-0.7
Open

⬆️ Bump QuantEcon/action-style-guide from 0.5 to 0.7#340
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/github_actions/QuantEcon/action-style-guide-0.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Bumps QuantEcon/action-style-guide from 0.5 to 0.7.

Release notes

Sourced from QuantEcon/action-style-guide's releases.

v0.7.0

qestyle CLI + Extended Thinking + Minimal Prompts

What's New

Extended Thinking (Zero False Positives)

Claude now reasons internally before responding, verifying each candidate violation before including it. This eliminates false positives (0% vs ~43% previously). Requires temperature=1.0 (Anthropic constraint).

Local CLI: qestyle

New command-line tool sharing the same review engine as the GitHub Action.

pip install git+https://github.com/QuantEcon/action-style-guide.git
qestyle lecture.md                    # review + apply fixes + write report
qestyle lecture.md --dry-run          # review only
qestyle lecture.md --categories math  # specific categories

Minimal Rule-Agnostic Prompts

All 8 category prompts replaced with a unified ~40-line template (down from ~120 lines each). Scope and context come from rule definitions, reducing signal dilution.

Category Labels on PRs

When specific categories are requested, category names are added as labels on the generated PR.

Removed

  • tool-style-checker/ directory (replaced by qestyle CLI)
  • tool-style-guide-development/ directory (rules edited directly in style_checker/rules/)

See CHANGELOG.md for full details.

v0.6.0

Dead code cleanup, region-based reporting, test improvements

What's Changed

Comprehensive cleanup and improvements — removes dead code, fixes stale documentation, significantly improves test coverage, and upgrades the Applied Fixes report to use accurate region-based diff reporting.

Highlights

  • Region-based Applied Fixes report — Multi-rule edits on the same line are now combined into one entry showing the true original → final text with all contributing rules attributed
  • Configurable temperature — New temperature input (default: 0 for deterministic output)
  • Zero-violation parser fix — Prevents LLM commentary from being applied as content replacements
  • Dead code removal — Deleted unused modules, methods, test files, and dependencies
  • Test coverage: 23% → 45%, tests: 12 → 65

Fixed

  • Region-based combined Applied Fixes report (replaces per-violation reporting)
  • Zero-violation parser bug (short-circuits when Issues Found is 0)
  • review_lecture_smart() architecture bug (now uses single-rule evaluation)
  • migrate type rule extraction (was silently dropping 4 rules)

... (truncated)

Changelog

Sourced from QuantEcon/action-style-guide's changelog.

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Changed

  • Bumped GitHub Actions to Node 24-compatible versions — GitHub forces Node 24 as the default runner runtime from 2026-06-02 (Node 20 fully removed 2026-09-16). Updated actions/checkout@v4→v5 and astral-sh/setup-uv@v3→v7 in action.yml and CI; the docs workflow now uses actions/setup-node@v4→v6 (Node 22), actions/upload-pages-artifact@v3→v5, and actions/deploy-pages@v4→v5. Resolves #16.
  • Bumped example workflows to @v0.7examples/style-guide-comment.yml and examples/style-guide-weekly.yml pinned the action at the long-stale @v0.3; they now track the current v0.7 release line, matching the docs/user/* snippets.

[0.7.2] - 2026-02-16

Fixed

  • Fixed temperature default breaking all LLM callsaction.yml defaulted temperature to 0, but extended thinking (enabled in v0.7.0) requires temperature=1 per Anthropic's API. Every rule check silently errored with a 400, causing false "0 issues found" results. Changed default to 1.

[0.7.1] - 2026-02-16

Fixed

  • Fixed circular import crashing all GitHub Action runsstyle_checker/github.py shadowed the PyGithub github package. When github_handler.py imported from github import Github, Python resolved it to the local github.py instead of PyGithub, causing a circular import. Renamed github.py to action.py to eliminate the name collision.

[0.7.0] - 2026-02-13

Added

Changed

  • Minimal rule-agnostic prompts — All 8 category-specific prompts replaced with a single unified ~40 line prompt (down from ~120 lines each). The prompt no longer contains category-specific instructions — scope and analysis context come from the rule definitions themselves. This reduces signal dilution and lets the model focus on the task.
  • Default temperature changed to 1.0 — Required for extended thinking. The thinking budget (10,000 tokens) ensures careful reasoning despite higher temperature.
  • Local CLI: qestyle — New command-line tool that shares the same review engine, prompts, rules, and fix logic as the GitHub Action. Install with pip install git+https://github.com/QuantEcon/action-style-guide.git. Run qestyle lecture.md to review, apply fixes, and write a report (qestyle-lecture.md). Use --dry-run to skip applying fixes. Warns if the file has uncommitted changes before applying fixes. Supports --categories, --output, --model, and --temperature options.
  • Category names as PR labels — When specific categories are requested (e.g., @qe-style-checker lectures/file.md code,math), the category names are added as labels on the generated PR. Default labels (automated, style-guide, review) are always included.

Removed

  • Removed tool-style-checker/ directory — Replaced by the built-in qestyle CLI. The standalone tool had diverged from the main action (different LLM calling strategy, stale rule counts, old output format). The CLI uses the exact same StyleReviewer code path.
  • Removed tool-style-guide-development/ directory — Rules are now edited directly in style_checker/rules/; the standalone development tool and style-guide-database.md are no longer needed.

[0.6.0] - 2026-02-12

Fixed

... (truncated)

Commits
  • 20828d7 Fix temperature default: must be 1 for extended thinking
  • c4afd7d Release v0.7.1 - Fix circular import from github.py name collision
  • 825a277 Fix circular import: rename github.py to action.py (#12)
  • cb457dc Merge branch 'main' of https://github.com/QuantEcon/action-style-guide
  • 2bcfe6d v0.7.0 — qestyle CLI + Extended Thinking + Minimal Prompts (#11)
  • 0f59f45 Remove tool-style-guide-development directory
  • 5972373 Add IMPROVEMENTS.md and Phase 4 (Reliability) to PLAN
  • 4bfdf02 Update CHANGELOG: add category names as PR labels (#10)
  • 5117466 Add category names as PR labels when specific categories are requested
  • e5dc00b Release v0.6.0 - Dead code cleanup, region-based reporting, test improvements
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [QuantEcon/action-style-guide](https://github.com/quantecon/action-style-guide) from 0.5 to 0.7.
- [Release notes](https://github.com/quantecon/action-style-guide/releases)
- [Changelog](https://github.com/QuantEcon/action-style-guide/blob/main/CHANGELOG.md)
- [Commits](QuantEcon/action-style-guide@v0.5...v0.7)

---
updated-dependencies:
- dependency-name: QuantEcon/action-style-guide
  dependency-version: '0.7'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels Jun 8, 2026
@netlify

netlify Bot commented Jun 8, 2026

Copy link
Copy Markdown

Deploy Preview for lustrous-melomakarona-3ee73e ready!

Name Link
🔨 Latest commit 3e30f54
🔍 Latest deploy log https://app.netlify.com/projects/lustrous-melomakarona-3ee73e/deploys/6a27308cec23220008dcbd32
😎 Deploy Preview https://deploy-preview-340--lustrous-melomakarona-3ee73e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants