# Apache RAT exclude patterns.
#
# IMPORTANT: these entries use RAT 0.17+ exclude-expression syntax, read via
# --input-exclude-file. Each line is a glob matched against the file path, so
# 'foo/bar.py' style patterns work, but the '**/' prefix is required to match a
# name at any depth (RAT 0.16's -E flag matched the bare basename as a regex;
# that behaviour was removed in 0.17). Use '**/<name>' for a name anywhere or
# '**/*.<ext>' for an extension. Be aware that broad basenames like
# '**/utils.py' will skip license checks on every utils.py in the repo.

# Python marker file
**/py.typed

# JSON Lines data files
**/*.jsonl

# Git and version control config
**/.gitignore
**/.gitmodules
**/.rat-excludes

# Jupyter notebooks (JSON format, cannot practically add headers)
**/*.ipynb

# Data files (CSV - not source code)
**/*.csv

# Text files (documentation/data files, not source code)
**/*.txt

# Build and tool config files
**/*.bat
**/robots.txt

# JSON config files (cannot contain comments)
**/*.json

# YAML config files in .github/ (templates with frontmatter, headers impractical)
**/labeler.yml
**/config.yml
**/bug_report.md
**/feature_request.md
**/PULL_REQUEST_TEMPLATE.md

# Third-party MIT-licensed files (attributed in LICENSE).
# Most names are unique within the repo so basename matching is safe.
# Known collision:
#   - button.tsx: also matches telemetry/ui/src/components/common/button.tsx
#     (our own ASF code with header)
# A future regression in that collision target would silently pass RAT.
**/prompts.py
**/deep_researcher_utils.py
**/animated-beam.tsx
**/animated-shiny-text.tsx
**/blur-fade.tsx
**/border-beam.tsx
**/button.tsx
**/dot-pattern.tsx
**/icon-cloud.tsx
**/magic-card.tsx
**/marquee.tsx
**/number-ticker.tsx
**/safari.tsx
**/shimmer-button.tsx

# Tutorial markdown for the AWS terraform deployment example
**/tutorial.md

# SVG files (third-party logos and graphics, headers impractical)
**/*.svg

# Image files (binary, cannot contain headers)
**/*.png
**/*.gif
**/*.ico
**/*.jpg

# burr-redirect: non-ASF PyPI redirect package, not part of the ASF source release.
# The directory carries ASF-licensed templates but is not voted on as part of
# any apache-burr release artifact.
burr-redirect/**

# Python wheel dist-info metadata files. These are auto-generated by the wheel
# builder from pyproject.toml + package contents; they have no source and no
# ASF header. Needed because Release Validation extracts and RAT-scans the
# built wheel in addition to source and sdist tarballs.
**/METADATA
**/WHEEL
**/RECORD

# Bundled tracking-UI static assets (HTML shell, minified JS/CSS bundles, source
# maps). These are generated by the telemetry/ui build and shipped inside the
# wheel so the tracking server can serve them at runtime; they have no source
# headers, and their sources (in telemetry/ui/src/**/*.tsx) carry their own
# ASF headers checked as part of the source release.
burr/tracking/server/build/**
