Skip to content

Add AST-grep lint foundations#4377

Open
edmundmiller wants to merge 1 commit into
devfrom
astgrep-stack-base
Open

Add AST-grep lint foundations#4377
edmundmiller wants to merge 1 commit into
devfrom
astgrep-stack-base

Conversation

@edmundmiller

@edmundmiller edmundmiller commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Stack root.

Adds the AST-grep helper, parser dependency setup, parser availability tests, and migration status script. Rule migrations live in child PRs.

Base: dev

Stack

  1. Bump tree-sitter-nextflow parser pin #4378
  2. Add AST-grep lint foundations #4377 👈 current
  3. Migrate pipeline lint rules to AST-grep #4381
  4. Flag legacy versions.yml topic outputs #4379
  5. Flag legacy versions emits #4380

@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 30.92784% with 67 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.81%. Comparing base (e1cf743) to head (9500344).

Files with missing lines Patch % Lines
nf_core/astgrep.py 30.92% 67 Missing ⚠️

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@edmundmiller edmundmiller changed the title Add AST-grep Nextflow lint infrastructure Add AST-grep lint foundations and initial rules Jul 7, 2026
@edmundmiller edmundmiller changed the title Add AST-grep lint foundations and initial rules Add AST-grep lint foundations Jul 7, 2026
@edmundmiller edmundmiller requested review from a team and mashehu July 7, 2026 12:23
@mashehu mashehu added this to the 4.2.0 milestone Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants