Skip to content

Commit

Permalink
fix(python): define the authors email address in the __email__ variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Thierry Delafontaine committed Feb 21, 2023
1 parent c8521e8 commit 28d3d23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ All notable changes to the "zhaw-snippets" extension will be documented in this
- fix(python): added space after '=' symbol


### Unpublished
### 1.0.7

- fix(vhdl): add escape character before @zhaw to escape the @ symbol (conflict
with doxygen commands)
- fix(vhdl): remove the brief and detailed description from the header because
doxygen expects the entity description before the entity declaration
- fix(python): define the authors email address in the \_\_email\_\_ variable
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "ZHAW Snippets",
"description": "A collection of ZHAW related snippets",
"icon": "imgs/zhaw.png",
"version": "1.0.6",
"version": "1.0.7",
"publisher": "InES-HPMM",
"engines": {
"vscode": "^1.64.0"
Expand Down
3 changes: 2 additions & 1 deletion snippets/python.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"\"\"\"",
"",
"",
"__author__ = \"${4:<author>} (${5:<initials>}@zhaw.ch)\"",
"__author__ = \"${4:<author>}\"",
"__email__ = \"${5:<initials>}@zhaw.ch}\"",
"__copyright__ = \"${CURRENT_YEAR} ZHAW Institute of Embedded Systems\"",
"__date__ = \"${CURRENT_YEAR}-${CURRENT_MONTH}-${CURRENT_DATE}\"",
"",
Expand Down

0 comments on commit 28d3d23

Please sign in to comment.