Files
speckle-sharp-sdk/.github/git-commit-instructions.md
T
Adam Hathcock 1039e75d0c Calculate closures correctly (#309)
* Maybe really fixes closures

* fornat

* add ai generated tests

* fix tests

* fix tests

* added test with correct number of closures?

* closures are self contained.  don't increment on attached properties

* format

* MergeClosure should reuse if exists, not just set

* add not null on a method
2025-05-27 14:05:10 +01:00

859 B

Git Commit Instructions

To ensure high-quality and consistent commits, please follow these guidelines:

  1. Format your code

    • Run the csharpier formatter on all C# files before committing.
    • Ensure your code adheres to the .editorconfig settings.
  2. Write clear commit messages

    • Use the present tense ("Add feature" not "Added feature").
    • Start with a short summary (max 72 characters), followed by a blank line and a detailed description if necessary.
  3. Test your changes

    • Run all unit tests before committing.
    • Add or update xUnit tests as needed.
    • Use FluentAssertions for assertions and Moq for mocking in tests.
  4. Review your changes

    • Double-check for accidental debug code or commented-out code.
    • Ensure only relevant files are staged.

Thank you for helping maintain code quality!