[ty] Mark generated files as such in .gitattributes (#18195)

## Summary

See comment here:
https://github.com/astral-sh/ruff/pull/18156#discussion_r2095850586
This commit is contained in:
David Peter
2025-05-19 16:50:48 +02:00
committed by GitHub
parent 4c889d5251
commit b913f568c4
2 changed files with 4 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -21,6 +21,7 @@ crates/ruff_linter/resources/test/fixtures/pyupgrade/UP018_LF.py text eol=lf
crates/ruff_python_parser/resources/inline linguist-generated=true
ruff.schema.json -diff linguist-generated=true text=auto eol=lf
ty.schema.json -diff linguist-generated=true text=auto eol=lf
crates/ruff_python_ast/src/generated.rs -diff linguist-generated=true text=auto eol=lf
crates/ruff_python_formatter/src/generated.rs -diff linguist-generated=true text=auto eol=lf
*.md.snap linguist-language=Markdown