Skip to content

fix: pre-commit exclusion for completion schema - #149

Merged
davidrudlstorfer merged 1 commit into
4C-multiphysics:mainfrom
davidrudlstorfer:fix_precommit
Nov 16, 2026
Merged

davidrudlstorfer merged 1 commit into
4C-multiphysics:mainfrom
davidrudlstorfer:fix_precommit

Conversation

@davidrudlstorfer

Copy link
Copy Markdown
Collaborator

following #147 and #148

Alle guten Dinge sind 3

pre-commit is failing with the latest completion schema due to automatic typo recognition

This should now finally allow to run a full pipeline again :D

@davidrudlstorfer davidrudlstorfer self-assigned this Nov 13, 2026
Copilot AI balanced review requested due to automatic review settings November 13, 2026 15:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

1 open issue
What changed in this PR

Updates pre-commit configuration to prevent the typo checker hook from scanning the generated completion schema file(s), unblocking the CI pipeline failures mentioned in #147/#148.

Changes:

  • Extend the typos hook exclude regex to include src/fourcipp/config/4C_schema_completion.json.
  • Keep excluding existing schema/metadata artifacts (both source and build output copies).
File Description
.pre-commit-config.yaml Expands typos hook exclusions to cover the completion schema file that triggers false positives.

Review effort: Lite

Comment thread .pre-commit-config.yaml
- id: typos
name: Run typo checker
exclude: "src/fourcipp/config/4C_metadata.yaml|src/fourcipp/config/4C_schema.json|clang18_fourc_assertions_trilinos_assertions_build-metadata/4C_metadata.yaml|clang18_fourc_assertions_trilinos_assertions_build-schema/4C_schema.json|clang18_fourc_assertions_trilinos_assertions_build-completion-schema/4C_schema_completion.json"
exclude: "src/fourcipp/config/4C_metadata.yaml|src/fourcipp/config/4C_schema.json|src/fourcipp/config/4C_schema_completion.json|clang18_fourc_assertions_trilinos_assertions_build-metadata/4C_metadata.yaml|clang18_fourc_assertions_trilinos_assertions_build-schema/4C_schema.json|clang18_fourc_assertions_trilinos_assertions_build-completion-schema/4C_schema_completion.json"
@davidrudlstorfer
davidrudlstorfer merged commit 1bc76ed into 4C-multiphysics:main Nov 16, 2026
29 of 31 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