Skip to content

Toolchain improvement#8

Merged
wallscheid merged 4 commits intomainfrom
toolchain-improvement
Feb 12, 2026
Merged

Toolchain improvement#8
wallscheid merged 4 commits intomainfrom
toolchain-improvement

Conversation

@pradyumna17
Copy link
Copy Markdown
Collaborator

  • Added formatting toolchain
  • Formatted all latex and python files

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Improves the repository’s toolchain by introducing editor/CI formatting support and applying consistent formatting across LaTeX and Python sources.

Changes:

  • Normalized whitespace/formatting across many .tex sources (lectures, exercises, exams, figures).
  • Reformatted Python helper scripts (mostly line wrapping, quotes, and spacing).
  • Added developer tooling + CI checks (VS Code settings/extensions, .gitattributes, and a GitHub Actions formatting job).

Reviewed changes

Copilot reviewed 81 out of 156 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
lecture/tex/nomen.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/tex/dict.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/tex/Lecture06.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/tex/Lecture05.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/tex/Lecture04.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/tex/Lecture03.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/tex/Lecture02.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/tex/Lecture01.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/main.tex Whitespace cleanup for consistent LaTeX formatting.
lecture/fig/lec06/PWM_three_phase_ACDC.py Ruff-formatting pass and CSV writing readability improvements.
lecture/fig/lec06/PWM_single_phase_ACDC.py Ruff-formatting pass and CSV writing readability improvements.
lecture/fig/lec04/PWM_control_PFC.py Ruff-formatting pass and CSV writing readability improvements.
lecture/fig/lec04/Load_curve_B2U_rectifier.py Ruff-formatting pass for CSV writing.
lecture/fig/lec04/Grid_impacts_B2U_rectifier.py Ruff-formatting pass; line wrapping for readability.
lecture/build.py Consistent Python formatting (quotes/spacing) for build script.
exercise/tex/exercise07.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/tex/exercise06.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/tex/exercise05.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/tex/exercise04.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/tex/exercise03.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/tex/exercise02.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/tex/exercise01.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex07/sFig_graphic_solutions_cos_terms.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex07/sFig_Voltage_u2ab_u2bc_u2a_um0.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex07/sFig_ trigonometric_approach_triangle.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex07/Single-phase_DC_Inverter.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex07/Fig_ThreePhaseInverter_6StepMode.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex06/sFig_VoltageU2pmUp.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex06/sFig_VoltageU2pmDown.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex06/Fig_B6C_ConverterWithMotorLoad.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex05/Fig_courses_i'_results.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex05/Fig_VoltageCourses_UL_res.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex05/Fig_TEST.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex05/Fig_Current_Courses.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex05/Fig_BoostConverter_with_Rectifiers.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex05/Fig_B2U_TopologyWithCapactiveFiltering.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex04/sFigDia_Ex04SignalsSingledEndedForwardConverter.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex04/sFigDia_Ex04SignalsForwardConverterWithAsymHalfBridge.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex04/Fig_voltageTransistorUsPeriodTask1.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex04/Fig_FlybackConverter.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex03/sFigDia_Inverse.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex03/sFigDia_DutyCycleVSUoutE3T2.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex03/sFigDia_DCLinkVSUoutE3T2.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex02/sFigDia_InductorVoltageCase2.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex02/sFigDia_InductorVoltageCase1.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex02/sFigDia_IlVSVoltage.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex02/sFigDia_EfficiencyVSVoltage.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex02/sFigDia_DutyCycleVSVoltageOpt.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex02/sFigDia_DutyCycleVSVoltage.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex01/sfigSwitchingStatesStepDownConverter.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex01/sfigRelevantVoltageAndCurrentSignals.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex01/sfigQualitativeInductorCurrentDuringBCM.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex01/sfigInstantaneousPowerAtTheLoadResistor.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/fig/ex01/sfigDisplayOfCurrentsAndVoltagesDependingOnTheSwitchingPhases.tex Whitespace cleanup for consistent LaTeX formatting.
exercise/build.py Python formatting + solution/no-solution build toggle logic.
exam/winter2024/tex/titlepage.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/tex/task04.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/tex/task02.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/tex/task01.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/fig/Task04/Single-phase_DC_inverter.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/fig/Task03/DCM_scenario.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/fig/Task02/figDual_Active_Bridge.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/fig/Task02/FigTask2Template.tex Whitespace cleanup for consistent LaTeX formatting.
exam/winter2024/fig/Task01/sFigTask1.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/tex/titlepage.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/tex/task04.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/tex/task03.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/tex/task02.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/tex/task01.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/fig/Task04/sFig_subtask4.2_output_voltage.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/fig/Task04/Subtask4.2_line_voltage_template.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/fig/Task02/figMultiPortFlybackConverter.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/fig/Task02/FigTask2Template.tex Whitespace cleanup for consistent LaTeX formatting.
exam/summer2025/fig/Task01/sFigTask1.tex Whitespace cleanup for consistent LaTeX formatting.
exam/build.py Python formatting + traversal-based exam PDF builds.
course_template Updates the submodule pointer for shared tooling/config.
README.md Documents contributor tooling expectations (VS Code + Ruff).
.vscode/settings.json Enables latexindent + Ruff formatting on save in VS Code.
.vscode/extensions.json Recommends VS Code extensions for LaTeX + Ruff.
.github/workflows/buildPDFs.yml Adds CI format checks (latexindent + Ruff) before PDF build/deploy.
.gitattributes Enforces LF endings and marks binaries to reduce noisy diffs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 81 out of 156 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pradyumna17 pradyumna17 force-pushed the toolchain-improvement branch from 7deb500 to d6d10f2 Compare February 11, 2026 21:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 82 out of 157 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wallscheid wallscheid merged commit 45c2dfc into main Feb 12, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants