Skip to content

Commit

Permalink
Add typos dev dependency and update devcontainer.json
Browse files Browse the repository at this point in the history
  • Loading branch information
kirkbrauer committed Jul 29, 2024
1 parent e79eb5b commit e3a8599
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 6 deletions.
17 changes: 12 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,26 @@
// Install poetry and packages
"postCreateCommand": "pip3 install -U poetry && poetry install",
// Mount USB devices to devcontainer for tests
"mounts": ["type=bind,source=/dev/bus/usb,target=/dev/bus/usb"],
"mounts": [
"type=bind,source=/dev/bus/usb,target=/dev/bus/usb"
],
"customizations": {
"vscode": {
"extensions": [
"tamasfe.even-better-toml",
"ms-python.python",
"ms-python.autopep8",
"ms-python.vscode-pylance",
"ms-python.debugpy"
"ms-python.debugpy",
"charliermarsh.ruff",
"tekumara.typos-vscode"
],
"settings": {
"python.defaultInterpreterPath": "~/.cache/pypoetry/virtualenvs/jumpstarter-64_PDEHR-py3.11/bin/python"
"python.defaultInterpreterPath": "~/.cache/pypoetry/virtualenvs/jumpstarter-64_PDEHR-py3.11/bin/python",
"[python]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "charliermarsh.ruff"
}
}
}
}
}
}
21 changes: 20 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pytest = "^8.2.2"
pytest-anyio = "^0.0.0"
pytest-cov = "^5.0.0"
ruff = "^0.5.5"
typos = "^1.23.5"

[tool.poetry.group.docs.dependencies]
sphinx = "^7.4.7"
Expand Down

0 comments on commit e3a8599

Please sign in to comment.