Skip to content

Commit

Permalink
Feature: Poetry Sorting Plugin (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
willsawyerrrr authored Aug 21, 2024
2 parents 16d2e64 + e134d0b commit 4ece525
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion templates/python/.devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
}
},

"postCreateCommand": "poetry config virtualenvs.create false && poetry install",
"postCreateCommand": {
"poetry-plugin-sort": "sudo `which pipx` inject poetry poetry-plugin-sort",
"poetry-deps": "poetry config virtualenvs.create false && poetry install"
},

"containerEnv": {
"PYTHONDONTWRITEBYTECODE": "1"
Expand Down
2 changes: 1 addition & 1 deletion templates/python/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "python",
"version": "1.3.0",
"version": "1.4.0",
"name": "Python Dev Container",
"description": "Python Dev Container template"
}

0 comments on commit 4ece525

Please sign in to comment.