Skip to content

make pkg-test typo#198

Merged
mangelajo merged 1 commit intojumpstarter-dev:mainfrom
evakhoni:fix-make-typo
Feb 4, 2026
Merged

make pkg-test typo#198
mangelajo merged 1 commit intojumpstarter-dev:mainfrom
evakhoni:fix-make-typo

Conversation

@evakhoni
Copy link
Contributor

@evakhoni evakhoni commented Feb 4, 2026

according to makefile, we're using make pkg-test- for testing a package, however few places mention make test-pkg- instead, which seems like a typo.

Summary by CodeRabbit

  • Documentation
    • Updated development guide documentation to reflect the correct test invocation command syntax: use make pkg-test-${package_name} instead of make test-pkg-${package_name} for running package-specific tests.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 4, 2026

📝 Walkthrough

Walkthrough

Documentation updates across cursor rules and contributing guides to align test command syntax from make test-pkg-${package_name} to make pkg-test-${package_name}. Four files updated with consistent command naming conventions.

Changes

Cohort / File(s) Summary
Cursor Rules
.cursor/rules/creating-new-drivers.mdc, .cursor/rules/project-structure.mdc
Updated test invocation guidance to use make pkg-test-${package_name} instead of make test-pkg-${package_name}.
Contributing Documentation
python/docs/source/contributing.md, python/docs/source/contributing/development-environment.md
Updated example test commands to use make pkg-test-${package_name} instead of make test-pkg-${package_name}.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

  • jumpstarter-dev/jumpstarter#642: Updates test command wording in the same documentation files, introducing the command pattern that this PR refines.
  • jumpstarter-dev/jumpstarter#443: Modifies contributing and development-environment documentation with similar package test command updates.
  • Adapt assistant rules to new format, and add CLAUDE.md #107: Edits cursor rules documentation files for driver creation guidelines with overlapping content areas.

Suggested reviewers

  • kirkbrauer
  • bennyz
  • NickCao

Poem

🐰 The make commands now align so true,
From test-pkg to pkg-test we flew,
Across the docs, both rules and guides,
Consistency hops with easter strides,
Scripts harmonized, the project's pride! 🎉

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'make pkg-test typo' clearly identifies the main change: fixing an incorrect command reference in documentation from 'make test-pkg-' to the correct 'make pkg-test-' to match the Makefile.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@python/docs/source/contributing/development-environment.md`:
- Around line 49-51: Remove the shell prompt from the fenced code block so
markdownlint MD014 is satisfied: replace the line containing the prompt-prefixed
command "$ make pkg-test-${package_name}" with the bare command "make
pkg-test-${package_name}" inside the existing ```console fenced block in
development-environment.md (identify the command by the text make
pkg-test-${package_name}).

Comment on lines 49 to 51
```console
$ make test-pkg-${package_name}
$ make pkg-test-${package_name}
```
Copy link
Contributor

@coderabbitai coderabbitai bot Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Address markdownlint MD014 by removing the shell prompt.

The static analysis warning flags the $ prefix in code blocks. Consider removing the prompt or adding output to satisfy MD014.

Suggested change
-```console
-$ make pkg-test-${package_name}
-```
+```console
+make pkg-test-${package_name}
+```
🧰 Tools
🪛 markdownlint-cli2 (0.20.0)

[warning] 50-50: Dollar signs used before commands without showing output

(MD014, commands-show-output)

🤖 Prompt for AI Agents
In `@python/docs/source/contributing/development-environment.md` around lines 49 -
51, Remove the shell prompt from the fenced code block so markdownlint MD014 is
satisfied: replace the line containing the prompt-prefixed command "$ make
pkg-test-${package_name}" with the bare command "make pkg-test-${package_name}"
inside the existing ```console fenced block in development-environment.md
(identify the command by the text make pkg-test-${package_name}).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally yes, however Sphinx documentation builder handle this correctly, so a copy from a codeblock works correctly. this is also the standard thorough the whole repo.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@evakhoni, thank you for the clarification! I understand that including shell prompts is the established standard in this repository and that Sphinx handles them appropriately for copy/paste functionality. I'll keep this in mind for future reviews.


✏️ Learnings added
Learnt from: evakhoni
Repo: jumpstarter-dev/jumpstarter PR: 198
File: python/docs/source/contributing/development-environment.md:49-51
Timestamp: 2026-02-04T17:50:41.624Z
Learning: In the jumpstarter repository, shell prompts (`$`) in console code blocks are intentionally kept in documentation despite markdownlint MD014 warnings. Sphinx documentation builder handles these correctly, and this is the standard throughout the repository.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.


🧠 Learnings used
Learnt from: CR
Repo: jumpstarter-dev/jumpstarter PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-02-04T16:25:31.463Z
Learning: Use `make pkg-test-<package_name>` for running package-specific tests

Learnt from: CR
Repo: jumpstarter-dev/jumpstarter PR: 0
File: .cursor/rules/project-structure.mdc:0-0
Timestamp: 2026-02-04T16:25:57.924Z
Learning: Use `make test-pkg-<package_name>` for running package tests, never invoke pytest manually

Learnt from: CR
Repo: jumpstarter-dev/jumpstarter PR: 0
File: .cursor/rules/project-structure.mdc:0-0
Timestamp: 2026-02-04T16:25:57.924Z
Learning: Use `make pkg-ty-<package_name>` for type checking instead of running pytest manually

Learnt from: CR
Repo: jumpstarter-dev/jumpstarter PR: 0
File: CLAUDE.md:0-0
Timestamp: 2026-02-04T16:25:31.463Z
Learning: Use `make pkg-ty-<package_name>` for running type checking on packages

Learnt from: NickCao
Repo: jumpstarter-dev/jumpstarter PR: 271
File: docs/source/conf.py:53-53
Timestamp: 2025-02-10T20:39:47.893Z
Learning: In Sphinx configuration, setting `doctest_test_doctest_blocks = ""` specifically disables automatic testing of standard reStructuredText doctest blocks (those using >>> syntax without explicit directives), while still allowing testing of blocks explicitly marked with .. doctest::, .. testcode::, or other doctest directives.

@evakhoni evakhoni requested review from bennyz and bkhizgiy February 4, 2026 17:50
@mangelajo mangelajo merged commit cea61fd into jumpstarter-dev:main Feb 4, 2026
24 checks passed
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