Skip to content

Commit

Permalink
Exclude auto-generated files from auto-formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-mccarthy-unity committed Mar 15, 2024
1 parent 8ab2044 commit d47c1cb
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 @@ -96,6 +96,8 @@ repos:
language: system
entry: dotnet format whitespace --folder --include
types_or: ["c#"]
# Don't check auto-generated files.
exclude: "com.unity.ml-agents/Runtime/Grpc/CommunicatorObjects/.*"
- id: markdown-link-check
name: markdown-link-check
entry: utils/run_markdown_link_check.py
Expand Down

0 comments on commit d47c1cb

Please sign in to comment.