Skip to content

Commit

Permalink
Implement environment syncing in VSCode settings
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeNaccarato committed Jan 29, 2025
1 parent 2c1eb22 commit 62fa190
Show file tree
Hide file tree
Showing 16 changed files with 218 additions and 225 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ repos:
hooks:
- id: taplo-format
- repo: "https://github.com/charliermarsh/ruff-pre-commit"
rev: "v0.5.1"
rev: "v0.9.3"
hooks:
- id: "ruff"
args: ["--extend-fixable", "PIE790"]
Expand Down
48 changes: 39 additions & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
// * ----------------------------------------------------------------------------- * #
//* ------------------------------------------------------------------------------ *//
//! Schema
"yaml.schemas": {
// ? `boilercv`
Expand All @@ -15,7 +15,7 @@
"pipeline/boilercv_pipeline/settings_schema.json": "packages/pipeline/boilercv_pipeline/settings.yaml",
"pipeline/boilercv_pipeline/settings_plugin_schema.json": "packages/pipeline/boilercv_pipeline/settings_plugin.yaml"
},
// * ----------------------------------------------------------------------------- * #
//* ------------------------------------------------------------------------------ *//
//! Terminal
//? Use PowerShell on all platforms, facilitates running template scripts
"terminal.integrated.defaultProfile.windows": "PowerShell",
Expand Down Expand Up @@ -100,8 +100,6 @@
"source.organizeImports": "explicit"
},
//! Extensions
//* autoDocstring
"autoDocstring.docstringFormat": "numpy-notypes",
//* Better Comments
"better-comments.tags": [
{
Expand Down Expand Up @@ -228,7 +226,11 @@
"[markdown]": {
"editor.defaultFormatter": "DavidAnson.vscode-markdownlint"
},
//* Prettier (JSON, JSONC, YAML)
//* Prettier
"[github-actions-workflow]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "off"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
Expand All @@ -243,10 +245,6 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "off"
},
"[github-actions-workflow]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.wordWrap": "off"
},
"yaml.format.printWidth": 88,
//* Justfile (JUST)
"[just]": { "editor.tabSize": 2, "editor.wordWrap": "off" },
Expand All @@ -269,6 +267,38 @@
"editor.wordWrap": "off"
},
"evenBetterToml.taplo.configFile.path": ".taplo.toml",
//* Automatically synchronized environment variables
//! PLEASE MODIFY `pyproject.toml:tool.boilercv_dev.env` AND RUN `./Invoke-Uv -Sync`
"terminal.integrated.env.linux": {
"COVERAGE_CORE": "sysmon",
"JUPYTER_PLATFORM_DIRS": "1",
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
"PYRIGHT_PYTHON_PYLANCE_VERSION": "2024.6.1",
"PYTHONIOENCODING": "utf-8:strict",
"PYTHONUTF8": "1",
"PYTHONWARNDEFAULTENCODING": "1",
"PYTHONWARNINGS": "ignore"
},
"terminal.integrated.env.osx": {
"COVERAGE_CORE": "sysmon",
"JUPYTER_PLATFORM_DIRS": "1",
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
"PYRIGHT_PYTHON_PYLANCE_VERSION": "2024.6.1",
"PYTHONIOENCODING": "utf-8:strict",
"PYTHONUTF8": "1",
"PYTHONWARNDEFAULTENCODING": "1",
"PYTHONWARNINGS": "ignore"
},
"terminal.integrated.env.windows": {
"COVERAGE_CORE": "sysmon",
"JUPYTER_PLATFORM_DIRS": "1",
"PYDEVD_DISABLE_FILE_VALIDATION": "1",
"PYRIGHT_PYTHON_PYLANCE_VERSION": "2024.6.1",
"PYTHONIOENCODING": "utf-8:strict",
"PYTHONUTF8": "1",
"PYTHONWARNDEFAULTENCODING": "1",
"PYTHONWARNINGS": "ignore"
},
//! Other
//? Other automatically added settings below
"": ""
Expand Down
Loading

0 comments on commit 62fa190

Please sign in to comment.