# Apache RAT exclude patterns.
#
# IMPORTANT: RAT's -E flag matches each pattern as a regex, but only
# reliably matches against the file basename. Path-style patterns like
# 'examples/foo/bar.py' don't work, especially through symlinked dirs
# (burr/examples is a symlink to ../examples in the source tree).
# Use basename patterns. 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 collisions:
#   - utils.py: also matches our own ASF code in burr/tracking/, etc.
#     (4 other utils.py files; all currently have ASF headers)
#   - button.tsx: also matches telemetry/ui/src/components/common/button.tsx
#     (our own ASF code with header)
# A future regression in any of those collision targets would silently pass
# RAT. Tracked as a follow-up to rename or restructure.
prompts\.py
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
