Skip to content

Conversation

@germa89
Copy link
Collaborator

@germa89 germa89 commented Jan 5, 2026

Description

As the title.

Initially to fix line ending issues.

Issue linked

NA

Checklist

Copilot AI review requested due to automatic review settings January 5, 2026 10:18
@germa89 germa89 requested a review from a team as a code owner January 5, 2026 10:18
@germa89 germa89 self-assigned this Jan 5, 2026
@germa89 germa89 enabled auto-merge (squash) January 5, 2026 10:18
Copy link
Contributor

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

This PR adds pre-commit hooks to enforce consistent file formatting, specifically addressing line ending issues and trailing whitespace. The changes clean up numerous data files, documentation files, and configuration files by removing extraneous blank lines at the end of files.

  • Added several pre-commit hooks for file consistency checks
  • Removed trailing blank lines from 225+ files across the repository
  • Standardized line endings to Unix-style (LF)

Reviewed changes

Copilot reviewed 157 out of 212 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.pre-commit-config.yaml Added hooks for end-of-file fixing, trailing whitespace removal, line ending standardization, and other file consistency checks
Multiple .dat files in src/ansys/mapdl/core/examples/verif/ Removed trailing blank lines from verification test data files
Multiple documentation .rst files Removed trailing blank lines from documentation source files
Multiple configuration files (.yml, Dockerfile) Removed trailing blank lines from configuration and Docker files
.devcontainer/ files Removed trailing blank lines from devcontainer configuration files

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

@germa89
Copy link
Collaborator Author

germa89 commented Jan 5, 2026

@pyansys-ci-bot LGTM.

Copy link
Contributor

@pyansys-ci-bot pyansys-ci-bot left a comment

Choose a reason for hiding this comment

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

✅ Approving this PR because germa89 said so in here 😬

LGTM

@github-actions github-actions bot added CI/CD Related with CICD, Github Actions, etc examples Publishing PyMAPDL examples documentation Documentation related (improving, adding, etc) maintenance General maintenance of the repo (libraries, cicd, etc) new feature Request or proposal for a new feature labels Jan 5, 2026
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.28%. Comparing base (0c67fe7) to head (68a09c0).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4359      +/-   ##
==========================================
- Coverage   91.35%   91.28%   -0.07%     
==========================================
  Files         196      196              
  Lines       15977    15977              
==========================================
- Hits        14596    14585      -11     
- Misses       1381     1392      +11     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@germa89 germa89 merged commit a4cb9e7 into main Jan 7, 2026
125 of 127 checks passed
@germa89 germa89 deleted the fix/adding-more-precommit-hooks branch January 7, 2026 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD Related with CICD, Github Actions, etc documentation Documentation related (improving, adding, etc) examples Publishing PyMAPDL examples maintenance General maintenance of the repo (libraries, cicd, etc) new feature Request or proposal for a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants