# MCP Code Scanner - Git Ignore Rules

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

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

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

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

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

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# PEP 582
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

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

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# Code quality tool caches
.ruff_cache/
.pylint.d/
.bandit/

# MCP Code Scanner specific - Temporary scan outputs
.mcp-scanner-results/
scan-results.json
scan-report.html
scan-report.md
test_scan_output.json

# Large/temporary test outputs (exclude but keep demo files)
htmlcov/
.coverage
coverage.xml
.pytest_cache/
.ruff_cache/

# Note: Keep demo outputs and security_reports for milestone demonstration

# PyPI distribution (don't commit built packages to git)
dist/
build/
*.egg-info/

# Personal PyPI credentials (never commit!)
.pypirc
*.token

# MCP Server runtime files (personal paths)
mcp_server_config.json

# IDE specific files
.vscode/
.idea/
*.swp
*.swo
*~

# OS specific files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Temporary files
*.tmp
*.temp
*.bak
*.orig

# Project milestone: Keep these important demonstration files
# - security_reports/: Generated security analysis reports
# - demo_*/: Example outputs showing tool capabilities
# - configs/: Configuration templates and presets
# - tests/vulnerable_apps/: Test applications for security scanning (git repos converted to regular dirs)
# - README.md, PUBLISHING.md, etc.: Documentation
# - .github/workflows/: CI/CD automation

# Prevent embedded git repositories in test apps
tests/vulnerable_apps/*/.git/
tests/vulnerable_apps/*/.gitignore