CI: add a workflow to show flake8/mypy violations in modified files of a PR (#1513)

* CI: add a workflow to show flake8 violations in modified files of a PR

* modify a file to trigger the lint check

* CI: add a workflow to show mypy violations in modified files of a PR

* modify a file to trigger the type check

* Split flake8 and mypy into two parallel jobs; run a variant of the workflow on push event; modify a file to trigger the push workflow

* fail the task if there are syntax errors; remove old lint workflow
This commit is contained in:
el-u
2023-05-20 14:40:51 +02:00
committed by GitHub
parent 18127a75f5
commit 5255bc5cd8
5 changed files with 78 additions and 38 deletions

View File

@@ -57,7 +57,7 @@ class AdventureWeb(WebWorld):
def get_item_position_data_start(table_index: int):
item_ram_address = item_ram_addresses[table_index];
item_ram_address = item_ram_addresses[table_index]
return item_position_table + item_ram_address - items_ram_start