Skip to content

Commit

Permalink
ENH: Update pre-commit config to include "trailing-whitespace"
Browse files Browse the repository at this point in the history
By adding `trailing-whitespace` to the pre-commit configuration, it enables the following:
* GitHub Action report: Suggested changes are reported in the error log associated with the pre-commit GitHub Action workflow.
* Consolidated local pre-commit checks and updates by running:

  ```
  python -m pip install pyupgrade

  python -m pre_commit run --all-files
  ```
  • Loading branch information
jcfr committed Jan 13, 2024
1 parent 826bee8 commit 3851c06
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ repos:
- id: check-case-conflict
- id: check-merge-conflict
- id: check-symlinks
- id: trailing-whitespace
exclude: "\\.(svg|vtk|vtp)$"

0 comments on commit 3851c06

Please sign in to comment.