en un clic
testing
Run tests and linting for NexRL Python project.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Menu
Run tests and linting for NexRL Python project.
Installer avec Codex ou Claude Copiez ce prompt, collez-le dans Codex, Claude ou un autre assistant, puis laissez-le vérifier la page du skill et l'installer pour vous.
Basé sur la classification professionnelle SOC
Address GitHub PR review comments. Navigate to correct worktree, make fixes, push updates.
Code review for Python changes in NexRL, following project conventions.
Fix a GitHub issue using git worktree for isolation. Fetches issue, creates worktree, implements fix, then creates PR.
Git commit workflow in a worktree with Python linting, formatting, and testing.
Create a GitHub PR from a worktree branch. Use after committing changes.
| name | testing |
| description | Run tests and linting for NexRL Python project. |
# All tests
python -m pytest tests/ -v --tb=short
# Unit tests only
python -m pytest tests/unittests/ -v
# Specific test file
python -m pytest tests/unittests/test_foo.py -v
# By marker
python -m pytest tests/ -m unit -v
python -m pytest tests/ -m "not slow" -v
# pylint (non-test files)
python -m pylint nexrl/ --rcfile=.pylintrc -rn -sn
# mypy
python -m mypy nexrl/ --ignore-missing-imports
# License header check
python tests/lint/check_license_header.py <files>
# Check (don't fix)
python -m black --check nexrl/ tests/
python -m isort --check nexrl/ tests/
# Fix
python -m black nexrl/ tests/
python -m isort nexrl/ tests/
pre-commit run --all-files
When running in a worktree, ensure you're in the worktree directory:
# Ensure you're in the worktree root
cd "$(git rev-parse --show-toplevel)"
python -m pytest tests/ -v --tb=short
unit — Unit testsintegration — Integration testsslow — Slow running teststests/ only (per .ai-instructions/developing/testing-and-examples.md)