diff --git a/.vscode/google-notypes.mustache b/.vscode/google-notypes.mustache deleted file mode 100644 index 55477fa..0000000 --- a/.vscode/google-notypes.mustache +++ /dev/null @@ -1,41 +0,0 @@ -{{! Copied from https://github.com/NilsJPWerner/autoDocstring/blob/master/src/docstring/templates/google-notypes.mustache with some edits }} -{{! Google Docstring Template without Types for Args, Returns or Yields }} -{{summaryPlaceholder}}. - -{{extendedSummaryPlaceholder}} -{{#parametersExist}} - -Args: -{{#args}} - {{var}}: {{descriptionPlaceholder}}. -{{/args}} -{{#kwargs}} - {{var}}: {{descriptionPlaceholder}}. Defaults to {{&default}}. -{{/kwargs}} -{{/parametersExist}} -{{#returnsExist}} - -Returns: -{{#returns}} - {{descriptionPlaceholder}}. -{{/returns}} -{{/returnsExist}} -{{#exceptionsExist}} - -Raises: -{{#exceptions}} - {{type}}: {{descriptionPlaceholder}}. -{{/exceptions}} -{{/exceptionsExist}} -{{#yieldsExist}} - -Yields: -{{#yields}} - {{descriptionPlaceholder}}. -{{/yields}} -{{/yieldsExist}} - -Examples: - ```{python} - {{descriptionPlaceholder}} - ``` diff --git a/.vscode/json.code-snippets b/.vscode/json.code-snippets index b21dfa2..7ada473 100644 --- a/.vscode/json.code-snippets +++ b/.vscode/json.code-snippets @@ -31,21 +31,6 @@ ], "description": "Insert bash formatted text" }, - "Insert YAML header for blogs": { - "scope": "quarto,markdown", - "prefix": "post_yaml", - "body": [ - "---", - "title: \"\"", - "description: \"Our reasons for ...\"", - "author: \"\"", - "date: last-modified", - "categories:", - " ${0:Type 'category_keywords' to insert categories}", - "---" - ], - "description": "Insert YAML header for Quarto blog posts." - }, "Insert a hidden comment section": { "scope": "quarto,markdown", "prefix": "hidden", @@ -75,29 +60,5 @@ "| | | |" ], "description": "Insert a 3 col table" - }, - "Insert video": { - "scope": "quarto,markdown", - "prefix": "video", - "body": [ - "{{< video ${0:Insert link here} >}}" - ], - "description": "Insert video that will be shown" - }, - "Insert paneltab": { - "scope": "quarto,markdown", - "prefix": "paneltab", - "body": [ - "::: panel-tabset", - "### ${0:Header}", - "", - "${1:Text body}", - "", - "### ${2:Header}", - "", - "${3:Text body}", - ":::" - ], - "description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers." } } diff --git a/.vscode/settings.json b/.vscode/settings.json index b4a37af..2ffd21c 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,7 +8,6 @@ "git.autofetch": false, "quarto.visualEditor.markdownWrap": "column", "quarto.visualEditor.markdownWrapColumn": 72, - "autoDocstring.customTemplatePath": ".vscode/google-notypes.mustache", "editor.tabCompletion": "on", "editor.snippetSuggestions": "inline", "conventional-branch.type": [ @@ -30,6 +29,7 @@ "editor.defaultFormatter": "charliermarsh.ruff" }, "files.associations": { + "*.yml.jinja": "jinja-yaml", "*.cff.jinja": "jinja-yaml", "*.toml.jinja": "jinja-toml" },