Skip to content

Commit

Permalink
chore: bump mecha
Browse files Browse the repository at this point in the history
  • Loading branch information
vberlier committed Feb 2, 2024
1 parent accb2c7 commit 87721e2
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 11 deletions.
8 changes: 4 additions & 4 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include = ["bolt/py.typed"]
[tool.poetry.dependencies]
python = "^3.10"
beet = ">=0.100.0"
mecha = ">=0.86.5"
mecha = ">=0.88.0"

[tool.poetry.group.dev.dependencies]
pytest = "^7.4.3"
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/bolt__parse_230__0.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
macro foo:
pass
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 145 other tokens but got literal 'foo'.
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 146 other tokens but got literal 'foo'.
# line 3, column 7
# 2 | pass
# 3 | as @p foo
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/bolt__parse_305__0.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 162 other tokens but got literal 'foo'.
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 163 other tokens but got literal 'foo'.
# line 1, column 11
# 1 | as @a run foo = "bar"
# : ^^^
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/bolt__parse_352__0.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
macro hello thing=subcommand:
pass
#>ERROR Expected assignment, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 164 other tokens but got literal 'print(123)'.
#>ERROR Expected assignment, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 165 other tokens but got literal 'print(123)'.
# line 3, column 7
# 2 | pass
# 3 | hello print(123)
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/bolt__parse_358__0.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 162 other tokens but got literal '"not'.
#>ERROR Expected literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as', literal 'at' or 163 other tokens but got literal '"not'.
# line 1, column 13
# 1 | execute run "not docstring"
# : ^^^^
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/bolt__parse_48__0.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1 * 2
#>ERROR Expected bracket '[', curly '{', decorator, docstring, ellipsis, false or 175 other tokens but got literal '*'.
#>ERROR Expected bracket '[', curly '{', decorator, docstring, ellipsis, false or 176 other tokens but got literal '*'.
# line 2, column 1
# 1 | 1 * 2
# 2 | * 3
Expand Down
2 changes: 1 addition & 1 deletion tests/snapshots/bolt__parse_99__0.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 145 other tokens but got literal 'for'.
#>ERROR Expected colon, literal 'advancement', literal 'align', literal 'anchored', literal 'append', literal 'as' or 146 other tokens but got literal 'for'.
# line 1, column 7
# 1 | at @s for i in "foo":
# : ^^^
Expand Down
10 changes: 10 additions & 0 deletions tests/snapshots/spec__prototypes__0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,8 @@
"execute:gamerule:showDeathMessages:value",
"execute:gamerule:snowAccumulationHeight",
"execute:gamerule:snowAccumulationHeight:value",
"execute:gamerule:spawnChunkRadius",
"execute:gamerule:spawnChunkRadius:value",
"execute:gamerule:spawnRadius",
"execute:gamerule:spawnRadius:value",
"execute:gamerule:spectatorsGenerateChunks",
Expand Down Expand Up @@ -1623,6 +1625,9 @@
"execute:tp:targets:location:facing:entity:facingEntity:facingAnchor",
"execute:tp:targets:location:facing:facingLocation",
"execute:tp:targets:location:rotation",
"execute:transfer:hostname",
"execute:transfer:hostname:port",
"execute:transfer:hostname:port:players",
"execute:trigger:objective",
"execute:trigger:objective:add:value",
"execute:trigger:objective:set:value",
Expand Down Expand Up @@ -1860,6 +1865,8 @@
"gamerule:showDeathMessages:value",
"gamerule:snowAccumulationHeight",
"gamerule:snowAccumulationHeight:value",
"gamerule:spawnChunkRadius",
"gamerule:spawnChunkRadius:value",
"gamerule:spawnRadius",
"gamerule:spawnRadius:value",
"gamerule:spectatorsGenerateChunks",
Expand Down Expand Up @@ -2419,6 +2426,9 @@
"tp:targets:location:facing:entity:facingEntity:facingAnchor",
"tp:targets:location:facing:facingLocation",
"tp:targets:location:rotation",
"transfer:hostname",
"transfer:hostname:port",
"transfer:hostname:port:players",
"trigger:objective",
"trigger:objective:add:value",
"trigger:objective:set:value",
Expand Down

0 comments on commit 87721e2

Please sign in to comment.