# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
dist-dev/
downloads/
eggs/
.eggs/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
#  Usually these files are written by a python script from a template
#  before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/
test-results.xml
xunit.xml

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
/.env
.env.local
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
node_modules/
package-lock.json
report.xml
*.tgz

# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
spec-coverage.json
manifest.json

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# next.js build output
.next

# Common toolchain intermediate files
temp

# Rush files
common/temp/**
package-deps.json

# Default TypeSpec output
tsp-output/

# Visual Studio / C#
bin/
obj/
.vs/
*.binlog
*.user

# JetBrains Rider
.idea/

# tsc incremental build files
*.tsbuildinfo

*.vsix
*.zip

# template generated post action files
packages/samples/test/output/azure/templates-contoso/setup.*

.apitest/

# MacOS
.DS_Store

# JetBrains Rider
.idea/

**/docs/**/js-api/

# vitest temporary files
**/vitest.config.ts.timestamp*

# Playwright temp file
.last_run.json

# Astro
.astro/

# Playwright
.last-run.json

.pnpm-store/

# Turborepo
.turbo

# python emitter
packages/typespec-python/alpha

# go emitter
packages/typespec-go/test/**/zz_*.go
packages/typespec-go/test/**/go.mod
packages/typespec-go/test/**/go.sum
packages/typespec-go/test/**/LICENSE.txt
packages/typespec-go/test/**/testdata
!packages/typespec-go/test/local/gogenerate/testdata/generate/transforms.go
# containingmod is a committed fixture: its go.mod/go.sum carry a v2 module
# identity used to exercise the emitter's go.mod discovery logic, so re-include
# them even though test/**/go.mod and test/**/go.sum are normally ignored.
!packages/typespec-go/test/local/containingmod/go.mod
!packages/typespec-go/test/local/containingmod/go.sum
# java emitter
# Emitter TS sources copied from core/packages/http-client-java/emitter at build
# time (only src/options.ts is committed).
packages/typespec-java/src/**
!packages/typespec-java/src/options.ts
!packages/typespec-java/src/diagnostics/
!packages/typespec-java/src/diagnostics/dpg-*.md
packages/typespec-java/test/**
# Java emitter.jar + assets staged from the core generator build.
packages/typespec-java/generator/**

# java emitter-tests (Maven+tsp spector suite, part of the typespec-java package)
# Generated SDK + generated tests are regenerated, never committed; only
# hand-written tests, specs, customization and the harness are tracked.
packages/typespec-java/emitter-tests/src/main/**
packages/typespec-java/emitter-tests/**/generated/**
packages/typespec-java/emitter-tests/tsp-output/**
packages/typespec-java/emitter-tests/specs/**
packages/typespec-java/emitter-tests/node_modules/**
packages/typespec-java/emitter-tests/tsp-spector-coverage-*.json

# Generated linter rule and diagnostic reference pages (produced by `tspd doc` /
# regen-docs via each rule's or diagnostic's `docs` field). Regenerated during the
# website build (build:web), so they are not tracked. The source docs live in
# packages/*/src/rules/*.md and packages/*/src/diagnostics/*.md.
website/src/content/docs/docs/libraries/*/rules/
website/src/content/docs/docs/libraries/*/reference/diagnostics/
website/src/content/docs/docs/emitters/**/reference/diagnostics/

# Empty
prs.external-reviewers.generated.yml
