docs: clarify VS Code ignore rules in Python.gitignore

This change clarifies how Visual Studio Code workspace files can be optionally ignored in python.gitignore while allowing contributors to track shared settings.json if desired.
This commit is contained in:
VIRATI AKIRANANDHAN REDDY 2025-12-18 18:38:16 +05:30 committed by GitHub
parent 86922aee42
commit 0852571f85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -197,9 +197,14 @@ cython_debug/
# Visual Studio Code
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
# and can be added to the global gitignore or merged into this file. However, if you prefer,
# you could uncomment the following to ignore the entire vscode folder
# and can be added to the global gitignore or merged into this file.
# 1. If you prefer, you could uncomment the following to ignore the entire vscode folder
# .vscode/
#
# 2. If you prefer to track shared VS Code settings, you could uncomment the following lines to
# include settings.json while ignoring all other files in the .vscode directory.
# .vscode/*
# !.vscode/settings.json
# Ruff stuff:
.ruff_cache/