Run Black formatter and move import-based examples to syntax_demos#75
Run Black formatter and move import-based examples to syntax_demos#75InauguralPhysicist merged 5 commits intomainfrom
Conversation
Co-authored-by: InauguralPhysicist <217690737+InauguralPhysicist@users.noreply.github.com>
Co-authored-by: InauguralPhysicist <217690737+InauguralPhysicist@users.noreply.github.com>
|
@copilot The failing job in your workflow is due to errors in two example files:
After making these changes, re-run your workflow to verify the fixes. Direct links for review (using your workflow's ref): |
These test failures are not related to my Black formatting changes. I only modified The Should I move these files to |
Co-authored-by: InauguralPhysicist <217690737+InauguralPhysicist@users.noreply.github.com>
|
@copilot Yes |
Co-authored-by: InauguralPhysicist <217690737+InauguralPhysicist@users.noreply.github.com>
Applied Black formatter to enforce consistent Python code style across the repository and reorganized example files with unsupported features.
Changes
Black Formatting
src/eigenscript/compiler/codegen/llvm_backend.py:CompilerErrorconstructor callsTypeErrormessage to single lineBlack configuration already present in
pyproject.toml(line-length=88, Python 3.10+). All 67 Python files now passblack --check.Example File Organization
robot_arm.eigsandrobot_simple.eigsfromexamples/toexamples/syntax_demos/importstatements which aren't fully supported in the runtime yetsyntax_demos/are excluded from automated testing bytest_examples.pyTesting
black --check .pytest tests/test_examples.py(32/32 tests)Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.