Run verification on the current changes:
-
Find changed files:
git diff --name-only HEADAlso include any files you've been editing in this session.
-
Style check on each changed Python file or its parent directory:
python setup.py style --scope <path>If issues are found, fix them with
--fixand report what changed.
-
Run relevant tests based on which collection was modified:
nemo/collections/asr/→pytest tests/collections/asr --download -m "not pleasefixme" -v --timeout=300nemo/collections/tts/→pytest tests/collections/tts --download -m "not pleasefixme" -v --timeout=300nemo/collections/audio/→pytest tests/collections/audio --download -m "not pleasefixme" -v --timeout=300nemo/collections/speechlm2/→pytest tests/collections/speechlm2 -m "not pleasefixme" -v --timeout=300nemo/collections/common/→pytest tests/collections/common -m "not pleasefixme" -v --timeout=300nemo/core/→pytest tests/core -m "not pleasefixme" -v --timeout=300
-
Report results: summarize passes and failures. For failures, show relevant error output and suggest fixes.