Skip to content

chore: clarify Taskfile Python opt-in#42

Merged
KooshaPari merged 1 commit into
mainfrom
chore/taskfile-common-tasks-refresh
Apr 28, 2026
Merged

chore: clarify Taskfile Python opt-in#42
KooshaPari merged 1 commit into
mainfrom
chore/taskfile-common-tasks-refresh

Conversation

@KooshaPari
Copy link
Copy Markdown
Owner

@KooshaPari KooshaPari commented Apr 28, 2026

User description

Add a TestingKit-specific include flag for Python project coverage while preserving the existing TASK_INCLUDE_PYTHON compatibility path. Update the common task messages so detected Python manifests point at the repo-named flag.

Validation:

  • task --list
  • task detect
  • TESTINGKIT_INCLUDE_PYTHON=1 task detect

Full build/test/lint attempted but blocked by local disk exhaustion (No space left on device, volume at 100%% capacity).


CodeAnt-AI Description

Use the repo-specific Python opt-in flag in task output

What Changed

  • Python projects can now be included by setting TESTINGKIT_INCLUDE_PYTHON=1, while the old TASK_INCLUDE_PYTHON=1 option still works.
  • When Python projects are detected but not active, build, test, lint, and detect messages now point to TESTINGKIT_INCLUDE_PYTHON=1.
  • Python tasks still stay skipped by default unless an opt-in flag is set.

Impact

✅ Clearer Python opt-in instructions
✅ Fewer skipped Python tasks
✅ Easier inclusion of Python projects

🔄 Retrigger CodeAnt AI Review

Details

💡 Usage Guide

Checking Your Pull Request

Every time you make a pull request, our system automatically looks through it. We check for security issues, mistakes in how you're setting up your infrastructure, and common code problems. We do this to make sure your changes are solid and won't cause any trouble later.

Talking to CodeAnt AI

Got a question or need a hand with something in your pull request? You can easily get in touch with CodeAnt AI right here. Just type the following in a comment on your pull request, and replace "Your question here" with whatever you want to ask:

@codeant-ai ask: Your question here

This lets you have a chat with CodeAnt AI about your pull request, making it easier to understand and improve your code.

Example

@codeant-ai ask: Can you suggest a safer alternative to storing this secret?

Preserve Org Learnings with CodeAnt

You can record team preferences so CodeAnt AI applies them in future reviews. Reply directly to the specific CodeAnt AI suggestion (in the same thread) and replace "Your feedback here" with your input:

@codeant-ai: Your feedback here

This helps CodeAnt AI learn and adapt to your team's coding style and standards.

Example

@codeant-ai: Do not flag unused imports.

Retrigger review

Ask CodeAnt AI to review the PR again, by typing:

@codeant-ai: review

Check Your Repository Health

To analyze the health of your code repository, visit our dashboard at https://app.codeant.ai. This tool helps you identify potential issues and areas for improvement in your codebase, ensuring your repository maintains high standards of code health.

Add a TestingKit-specific include flag for Python project coverage while preserving the existing TASK_INCLUDE_PYTHON compatibility path. Update the common task messages so detected Python manifests point at the repo-named flag.\n\nCo-authored-by: Codex <noreply@openai.com>
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented Apr 28, 2026

CodeAnt AI is reviewing your PR.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

Warning

Rate limit exceeded

@KooshaPari has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 10 minutes and 15 seconds before requesting another review.

To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a4f2982d-ac3a-444f-988a-0499df47c859

📥 Commits

Reviewing files that changed from the base of the PR and between 4eadb70 and f867c39.

📒 Files selected for processing (1)
  • Taskfile.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/taskfile-common-tasks-refresh
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch chore/taskfile-common-tasks-refresh

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.

@sonarqubecloud
Copy link
Copy Markdown

@KooshaPari KooshaPari merged commit d25dba5 into main Apr 28, 2026
9 checks passed
@KooshaPari KooshaPari deleted the chore/taskfile-common-tasks-refresh branch April 28, 2026 19:03
@codeant-ai codeant-ai Bot added the size:XS This PR changes 0-9 lines, ignoring generated files label Apr 28, 2026
@kilo-code-bot
Copy link
Copy Markdown

kilo-code-bot Bot commented Apr 28, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • Taskfile.yml

Reviewed by nemotron-3-super-120b-a12b-20230311:free · 161,072 tokens

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented Apr 28, 2026

CodeAnt AI finished reviewing your PR.

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented May 3, 2026

CodeAnt AI is running the review.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added size:XS This PR changes 0-9 lines, ignoring generated files and removed size:XS This PR changes 0-9 lines, ignoring generated files labels May 3, 2026
@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented May 3, 2026

Sequence Diagram

This PR updates the Taskfile so that Python projects are included in detect, build, test, and lint when either the legacy or TestingKit specific environment flag is set, and updates skip messages to direct users to TESTINGKIT_INCLUDE_PYTHON=1.

sequenceDiagram
    participant Developer
    participant Task
    participant PythonProjects

    Developer->>Task: Run detect or check
    Task->>PythonProjects: Scan repository for Python manifests
    PythonProjects-->>Task: List of Python projects

    alt TESTINGKIT or TASK include flag set
        Task->>PythonProjects: Run build test and lint for each project
        Task-->>Developer: Report Python tasks executed
    else Python opt in flag not set
        Task-->>Developer: Show message to set TESTINGKIT_INCLUDE_PYTHON
    end
Loading

Generated by CodeAnt AI

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented May 3, 2026

CodeAnt AI finished running the review.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented May 3, 2026

CodeAnt AI is running the review.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

@codeant-ai codeant-ai Bot added size:XS This PR changes 0-9 lines, ignoring generated files and removed size:XS This PR changes 0-9 lines, ignoring generated files labels May 3, 2026
@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented May 3, 2026

Sequence Diagram

This PR updates the Taskfile so Python projects are activated for build, test, and lint when either TASK_INCLUDE_PYTHON or the new TESTINGKIT_INCLUDE_PYTHON flag is set, and adjusts messages to point users at the TestingKit specific flag.

sequenceDiagram
    participant Developer
    participant TaskCLI
    participant Taskfile
    participant PythonProjects

    Developer->>TaskCLI: Run task detect or check
    TaskCLI->>Taskfile: Load Taskfile and variables
    Taskfile->>Taskfile: Discover Python projects

    alt Python opt in flag set
        Taskfile->>Taskfile: Mark active Python projects when TESTINGKIT_INCLUDE_PYTHON or TASK_INCLUDE_PYTHON is 1
        Taskfile->>PythonProjects: Run build test lint tasks
    else No Python opt in flag
        Taskfile-->>Developer: Show message to set TESTINGKIT_INCLUDE_PYTHON to include Python tasks
    end
Loading

Generated by CodeAnt AI

@codeant-ai
Copy link
Copy Markdown

codeant-ai Bot commented May 3, 2026

CodeAnt AI finished running the review.


Thanks for using CodeAnt! 🎉

We're free for open-source projects. if you're enjoying it, help us grow by sharing.

Share on X ·
Reddit ·
LinkedIn

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

Labels

size:XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant