Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Mark files generated by uv to be collapsed by default in PRs.
# See: https://github.com/github/linguist/#generated-code
dev_tools/requirements/envs/*.txt linguist-generated=true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not catch files in dev_tools/requirements/max_compat/

Suggested change
dev_tools/requirements/envs/*.txt linguist-generated=true
*.env.txt linguist-generated=true

Verification: empty output from the command below, i.e., every file has the autogenerated pattern.

git ls-files "*.env.txt" | xargs grep -L This.file.is.autogenerated


# Include Markdown files in GitHub's file statistics for this repo.
*.md linguist-detectable

# Exclude config files from GitHub's file statistics. Most are YAML files and
# Linguist already treats .yaml files as data, so only add some exceptions.
.markdownlintrc linguist-documentation
.shfmt linguist-documentation

@pavoljuhas pavoljuhas Jun 10, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let us remove patterns that do not exist:

Suggested change
.shfmt linguist-documentation

Loading