Read trunk.io: .trunk/trunk.yaml's enabled linters run under trunk check

Open
#621 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
ci-cd, tooling

Research direction

Start with tools/super_linter.py and tools/megalinter.py to see how existing runners invoke each tool, then inspect how runner configuration and fixtures are organized. Add trunk check coverage that reads enabled and disabled linters from .trunk/trunk.yaml, and verify fixtures cover both; completion also requires that no corpus project uses trunk yet.

Written by the indexing model from the issue text.

Description

Split from #564 so each runner is one PR.

What

trunk check, trunk-io/trunk-action and .trunk/trunk.yaml aren't known anywhere. Read lint.enabled (and disabled) and run each enabled linter as its tool's own command, as tools/super_linter.py and tools/megalinter.py do. trunk check --no-fix in CI is the run. trunk check on changed files only is a gate on new code, which is worth a detail.

Done when

Fixtures for trunk check with enabled and disabled linters. No corpus project uses trunk yet.

Split from #564.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ByTXNqDWdM7HzezrFtEvQt

Dominant language
Python
Stars
4
Forks
1
Avg merge
6h 31m
Merged PRs (30d)
238

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from cpp-best-practices/project_validator

All issues in cpp-best-practices/project_validator

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.