|
| 1 | +{ |
| 2 | + "jupyter.interactiveWindow.cellMarker.codeRegex": "^# COMMAND ----------|^# Databricks notebook source|^(#\\s*%%|#\\s*\\<codecell\\>|#\\s*In\\[\\d*?\\]|#\\s*In\\[ \\])", |
| 3 | + "jupyter.interactiveWindow.cellMarker.default": "# COMMAND ----------", |
| 4 | + "python.testing.pytestArgs": [ |
| 5 | + "." |
| 6 | + ], |
| 7 | + "files.exclude": { |
| 8 | + "**/*.egg-info": true, |
| 9 | + "**/__pycache__": true, |
| 10 | + ".pytest_cache": true, |
| 11 | + "dist": true, |
| 12 | + }, |
| 13 | + "files.associations": { |
| 14 | + "**/.gitkeep": "markdown" |
| 15 | + }, |
| 16 | + |
| 17 | + // Pylance settings (VS Code) |
| 18 | + // Set typeCheckingMode to "basic" to enable type checking! |
| 19 | + "python.analysis.typeCheckingMode": "off", |
| 20 | + "python.analysis.extraPaths": ["src", "lib", "resources"], |
| 21 | + "python.analysis.diagnosticMode": "workspace", |
| 22 | + "python.analysis.stubPath": ".vscode", |
| 23 | + |
| 24 | + // Pyright settings (Cursor) |
| 25 | + // Set typeCheckingMode to "basic" to enable type checking! |
| 26 | + "cursorpyright.analysis.typeCheckingMode": "off", |
| 27 | + "cursorpyright.analysis.extraPaths": ["src", "lib", "resources"], |
| 28 | + "cursorpyright.analysis.diagnosticMode": "workspace", |
| 29 | + "cursorpyright.analysis.stubPath": ".vscode", |
| 30 | + |
| 31 | + // General Python settings |
| 32 | + "python.defaultInterpreterPath": "./.venv/bin/python", |
| 33 | + "python.testing.unittestEnabled": false, |
| 34 | + "python.testing.pytestEnabled": true, |
| 35 | + "[python]": { |
| 36 | + "editor.defaultFormatter": "ms-python.black-formatter", |
| 37 | + "editor.formatOnSave": true, |
| 38 | + }, |
| 39 | +} |
0 commit comments