Skip to content

Commit 33c49e5

Browse files
committed
chore: mark the generated sync code as generated
The generated _sync/ files now start with the Go convention's header, "# Code generated by tools/generate_sync.py from _async/; DO NOT EDIT.", which some tools that skip generated code look for, and a test keeps it there. .gitattributes collapses the same files in GitHub diffs. Prompt: [discussions with Claude on how to avoid the personal tooling of forcing me to review the generated code] Assisted-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Reviewed-by: Tobias Brox <tobias@redpill-linpro.com>
1 parent 96ba782 commit 33c49e5

13 files changed

Lines changed: 42 additions & 16 deletions

‎.gitattributes‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Generated by tools/generate_sync.py from the _async/ siblings; collapsed in GitHub diffs.
2+
src/calendaring/_sync/** linguist-generated=true
3+
tests/_sync/** linguist-generated=true

‎src/calendaring/_sync/__init__.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/calendaring/_sync/backend.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/calendaring/_sync/collection.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/calendaring/_sync/conformance.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/calendaring/_sync/items.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/calendaring/_sync/memory.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/calendaring/_sync/workspace.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tests/_sync/__init__.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎tests/_sync/test_generic.py‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)