# Python bytecode, cache directories, and test coverage output
__pycache__/
*.py[cod]
.coverage

# Python virtual environment created by the installation/upgrade workflow
/venv/

# Frontend dependencies and Yarn logs generated during asset development/builds
/netbox/project-static/node_modules/
yarn-debug.log*
yarn-error.log*

# AI tooling
.claude/settings.local.json

# Documentation generated by the upgrade/build workflow
/netbox/project-static/docs/

# Static files collected by Django
/netbox/static/

# Local NetBox configuration files created or copied during installation
/netbox/netbox/configuration.py
/netbox/netbox/ldap_config.py
/local_requirements.txt

# Local settings overrides loaded by settings.py if present
/netbox/netbox/local_settings.py

# Deployment-local files under the optional local directory
/netbox/local/

# User-uploaded media files; MEDIA_ROOT defaults to netbox/media/.
# Keep the placeholder so the directory exists in a fresh checkout.
/netbox/media/*
!/netbox/media/.gitkeep

# Legacy custom reports; REPORTS_ROOT defaults to netbox/reports/.
# Keep the package marker while ignoring deployment-specific reports.
/netbox/reports/*
!/netbox/reports/__init__.py

# Custom scripts; SCRIPTS_ROOT defaults to netbox/scripts/.
# Keep the package marker while ignoring deployment-specific scripts.
/netbox/scripts/*
!/netbox/scripts/__init__.py

# Deployment-local WSGI configuration copied from contrib/ and edited in place
/gunicorn.py
/uwsgi.ini

# Ignore local helper scripts in the repository root, but keep the tracked upgrade script
/*.sh
!upgrade.sh

# Git patch/diff files commonly generated locally for review or handoff
/*.patch
/*.diff

# Common local editor, OS, and runtime-manager metadata
*.swp
.DS_Store
.idea/
.vscode/
.python-version
