mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Python Linting and Code Formatting (#298)
* Create common print_diff function * Add pylint and black * Fix linting, move classes to utils * Add black/pylint to github actions * Fix linting * Move Bin and SymInfo into their own files * Split out format * Tidy up workdlows and pip, add readme * Lint tests, add tests to readme
This commit is contained in:
5
.github/workflows/order.yml
vendored
5
.github/workflows/order.yml
vendored
@@ -9,12 +9,11 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build isledecomp library
|
||||
- name: Install python libraries
|
||||
run: |
|
||||
pip install tools/isledecomp
|
||||
pip install -r tools/requirements.txt
|
||||
|
||||
- name: Run checkorder.py
|
||||
run: |
|
||||
pip install -r tools/checkorder/requirements.txt
|
||||
python3 tools/checkorder/checkorder.py --verbose --enforce ISLE
|
||||
python3 tools/checkorder/checkorder.py --verbose --enforce LEGO1
|
||||
|
||||
Reference in New Issue
Block a user