Conversation
pradyumna17
commented
Dec 18, 2025
- latexindent is now formatter for latex
- ruff is now formatter for python files and jupyter notebooks
- updated github workflows for the same
- updated formatting of existing files
There was a problem hiding this comment.
Pull request overview
This PR introduces automated code formatting for the repository by adding latexindent for LaTeX files and ruff for Python/Jupyter files. The changes include configuration files, VSCode settings, an updated CI workflow with format checking, and reformatted existing files according to the new standards.
Key changes:
- Added latexindent and ruff as formatters with corresponding configuration files
- Implemented GitHub Actions workflow with automated format checking before builds
- Reformatted all existing LaTeX files (
.tex,.sty,.cls) to use tab-based indentation
Reviewed changes
Copilot reviewed 7 out of 16 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
.latexindent.yml |
Configuration for latexindent LaTeX formatter |
pyproject.toml |
Configuration for ruff Python formatter |
.vscode/settings.json |
VSCode editor settings for automatic formatting on save |
.vscode/extensions.json |
Recommended VSCode extensions for development |
.github/workflows/latex-python-ci.yml |
New CI workflow with format checking and build steps |
.github/workflows/latex-ci.yml |
Removed old CI workflow (replaced by new one) |
test/testLecture.tex |
Reformatted with tab indentation |
test/testExercise.tex |
Reformatted with tab indentation |
test/testExam.tex |
Reformatted with tab indentation |
style/presentation.sty |
Reformatted with tab indentation, trailing whitespace removed |
style/paper.sty |
Reformatted with tab indentation |
style/general.sty |
Reformatted with tab indentation, trailing whitespace removed |
lectureClass.cls |
Reformatted with tab indentation |
exerciseClass.cls |
Reformatted with tab indentation |
examClass.cls |
Reformatted with tab indentation |
README.md |
Added contributing section with tooling instructions |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 16 out of 20 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 16 out of 20 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@pradyumna17 thanks for the good work on this style automation improvement |
|
@wallscheid thanks a lot for feedback and support. |