mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-25 21:37:26 +00:00
[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:
parent
4c889d5251
commit
b913f568c4
2 changed files with 4 additions and 0 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
|
@ -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
|
||||
|
|
|
|||
3
crates/ty/docs/.gitattributes
vendored
Normal file
3
crates/ty/docs/.gitattributes
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
rules.md -diff linguist-generated=true text=auto eol=lf
|
||||
cli.md -diff linguist-generated=true text=auto eol=lf
|
||||
configuration.md -diff linguist-generated=true text=auto eol=lf
|
||||
Loading…
Add table
Add a link
Reference in a new issue