Skip to content

Commit 8410c4f

Browse files
committed
Add unicode tests
1 parent 8a384c1 commit 8410c4f

File tree

7 files changed

+327
-304
lines changed

7 files changed

+327
-304
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ jobs:
3838
# this is done, so the local version of vscode-task-runner is used,
3939
# not the pypi release
4040
# https://github.com/NathanVaughn/reusable-actions/blob/main/.github/workflows/python-test-uv.yml
41-
- name: Install Dependencies
42-
run: uv sync
43-
4441
- name: Run Pre-Commit Hooks
4542
run: uv run vscode_task_runner pre-commit --color=always --show-diff-on-failure
4643

.vscode/tasks.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,11 @@
11
{
22
"version": "2.0.0",
33
"tasks": [
4-
{
5-
"label": "install-pkgs",
6-
"command": "uv sync",
7-
"type": "shell"
8-
},
94
{
105
"label": "install-pre-commit",
116
"command": "uv run pre-commit install",
127
"type": "shell"
138
},
14-
{
15-
"label": "install",
16-
"dependsOn": ["install-pkgs", "install-pre-commit"],
17-
"dependsOrder": "sequence"
18-
},
199
{
2010
"label": "pre-commit",
2111
"command": "uv run pre-commit run --all-files",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "vscode-task-runner"
3-
version = "2.0.1"
3+
version = "2.0.2"
44
description = "Task runner for VS Code tasks.json"
55
readme = "README.md"
66
authors = [{ name = "Nathan Vaughn", email = "[email protected]" }]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "test",
6+
"command": "echo",
7+
"type": "shell"
8+
// https://github.com/NathanVaughn/vscode-task-runner/pull/98
9+
// "ō"
10+
},
11+
]
12+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
from tests.conftest import tasks_obj
2+
3+
4+
def test_unicode_parsing() -> None:
5+
# make sure it parses with no errors
6+
tasks_obj(__file__)

uv.lock

Lines changed: 308 additions & 290 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)